A fragment for a method, event or error in a JSON ABI format

Properties

PropertyModifierTypeDescription
anonymous?readonlybooleanIf the event is anonymous.
constant?readonlybooleanIf the function is constant.
gas?readonlystringThe gas limit to use when sending a transaction for this function.
inputs?readonlyreadonly JsonFragmentType[]The input parameters.
name?readonlystringThe name of the error, event, function, etc.
outputs?readonlyreadonly JsonFragmentType[]The output parameters.
payable?readonlybooleanIf the function is payable.
stateMutability?readonlystringThe mutability state of the function.
type?readonlystringThe type of the fragment (e.g. event, "function", etc.)