Property | Modifier | Type | Description | Inherited from |
---|---|---|---|---|
inputs | readonly | readonly ParamType [] | The inputs for the fragment. | Fragment .inputs |
name | readonly | string | The name of the fragment. | - |
type | readonly | FragmentType | The type of the fragment. | Fragment .type |
format
.
Parameter | Type |
---|---|
format ? | FormatType |
string
Fragment
.format
obj
, wich can be any supported ABI frgament type.
Parameter | Type |
---|---|
obj | any |
Fragment
Fragment
.from
value
is a ConstructorFragment.
Parameter | Type |
---|---|
value | any |
value is ConstructorFragment
Fragment
.isConstructor
value
is an ErrorFragment.
Parameter | Type |
---|---|
value | any |
value is ErrorFragment
Fragment
.isError
value
is an EventFragment.
Parameter | Type |
---|---|
value | any |
value is EventFragment
Fragment
.isEvent
value
is a FunctionFragment.
Parameter | Type |
---|---|
value | any |
value is FunctionFragment
Fragment
.isFunction
value
is a StructFragment.
Parameter | Type |
---|---|
value | any |
value is StructFragment
Fragment
.isStruct