ABIMethod
Defined in: packages/abi/src/abi-method.ts:74
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ABIMethod(
params):ABIMethod
Defined in: packages/abi/src/abi-method.ts:82
Parameters
Section titled “Parameters”params
Section titled “params”description?
Section titled “description?”string
events?
Section titled “events?”string
readonly?
Section titled “readonly?”boolean
returns
Section titled “returns”Returns
Section titled “Returns”ABIMethod
Properties
Section titled “Properties”
readonlyargs:ABIMethodArg[]
Defined in: packages/abi/src/abi-method.ts:77
description?
Section titled “description?”
readonlyoptionaldescription:string
Defined in: packages/abi/src/abi-method.ts:76
events?
Section titled “events?”
readonlyoptionalevents:ARC28Event[]
Defined in: packages/abi/src/abi-method.ts:79
readonlyname:string
Defined in: packages/abi/src/abi-method.ts:75
readonly?
Section titled “readonly?”
readonlyoptionalreadonly:boolean
Defined in: packages/abi/src/abi-method.ts:80
returns
Section titled “returns”
readonlyreturns:ABIMethodReturn
Defined in: packages/abi/src/abi-method.ts:78
Methods
Section titled “Methods”getSelector()
Section titled “getSelector()”getSelector():
Uint8Array
Defined in: packages/abi/src/abi-method.ts:117
Returns the method selector of this ABI method.
Returns
Section titled “Returns”Uint8Array
The 4-byte method selector
getSignature()
Section titled “getSignature()”getSignature():
string
Defined in: packages/abi/src/abi-method.ts:102
Returns the signature of this ABI method.
Returns
Section titled “Returns”string
The signature, e.g. my_method(unit64,string)bytes
fromSignature()
Section titled “fromSignature()”
staticfromSignature(signature):ABIMethod
Defined in: packages/abi/src/abi-method.ts:128
Returns the ABI method object for a given method signature.
Parameters
Section titled “Parameters”signature
Section titled “signature”string
The method signature
e.g. my_method(unit64,string)bytes
Returns
Section titled “Returns”ABIMethod
The ABIMethod