Skip to content

ABIMethod

Defined in: packages/abi/src/abi-method.ts:74

new ABIMethod(params): ABIMethod

Defined in: packages/abi/src/abi-method.ts:82

ABIMethodArg[]

string

ARC28Event[]

string

boolean

ABIMethodReturn

ABIMethod

readonly args: ABIMethodArg[]

Defined in: packages/abi/src/abi-method.ts:77


readonly optional description: string

Defined in: packages/abi/src/abi-method.ts:76


readonly optional events: ARC28Event[]

Defined in: packages/abi/src/abi-method.ts:79


readonly name: string

Defined in: packages/abi/src/abi-method.ts:75


readonly optional readonly: boolean

Defined in: packages/abi/src/abi-method.ts:80


readonly returns: ABIMethodReturn

Defined in: packages/abi/src/abi-method.ts:78

getSelector(): Uint8Array

Defined in: packages/abi/src/abi-method.ts:117

Returns the method selector of this ABI method.

Uint8Array

The 4-byte method selector


getSignature(): string

Defined in: packages/abi/src/abi-method.ts:102

Returns the signature of this ABI method.

string

The signature, e.g. my_method(unit64,string)bytes


static fromSignature(signature): ABIMethod

Defined in: packages/abi/src/abi-method.ts:128

Returns the ABI method object for a given method signature.

string

The method signature e.g. my_method(unit64,string)bytes

ABIMethod

The ABIMethod