Skip to main content
An abstract class to represent An individual fragment which has a name from a parse ABI.

Extends

Extended by

Properties

Methods

format()

Returns a string representation of this fragment as format.

Parameters

Returns

string

Inherited from

Fragment.format

Source

abi/fragments.ts:1055

from()

Creates a new Fragment for obj, wich can be any supported ABI frgament type.

Parameters

Returns

Fragment

Inherited from

Fragment.from

Source

abi/fragments.ts:1060

isConstructor()

Returns true if value is a ConstructorFragment.

Parameters

Returns

value is ConstructorFragment

Inherited from

Fragment.isConstructor

Source

abi/fragments.ts:1122

isError()

Returns true if value is an ErrorFragment.

Parameters

Returns

value is ErrorFragment

Inherited from

Fragment.isError

Source

abi/fragments.ts:1129

isEvent()

Returns true if value is an EventFragment.

Parameters

Returns

value is EventFragment

Inherited from

Fragment.isEvent

Source

abi/fragments.ts:1136

isFunction()

Returns true if value is a FunctionFragment.

Parameters

Returns

value is FunctionFragment

Inherited from

Fragment.isFunction

Source

abi/fragments.ts:1143

isStruct()

Returns true if value is a StructFragment.

Parameters

Returns

value is StructFragment

Inherited from

Fragment.isStruct

Source

abi/fragments.ts:1150