Skip to content

Arc56Method

@algorandfoundation/algokit-utils / types/app-arc56 / Arc56Method

types/app-arc56.Arc56Method

Wrapper around algosdk.ABIMethod that represents an ARC-56 ABI method.

  • ABIMethod

    Arc56Method

new Arc56Method(method): Arc56Method

NameType
methodMethod

Arc56Method

algosdk.ABIMethod.constructor

src/types/app-arc56.ts:27

Readonly args: { defaultValue?: { data: string ; source: "method" | "box" | "global" | "local" | "literal" ; type?: string } ; desc?: string ; name?: string ; struct?: string ; type: ABIArgumentType }[]

algosdk.ABIMethod.args

src/types/app-arc56.ts:24


Optional Readonly description: string

algosdk.ABIMethod.description

node_modules/algosdk/dist/types/abi/method.d.ts:28


Optional Readonly events: ARC28Event[]

algosdk.ABIMethod.events

node_modules/algosdk/dist/types/abi/method.d.ts:38


method: Method

src/types/app-arc56.ts:27


Readonly name: string

algosdk.ABIMethod.name

node_modules/algosdk/dist/types/abi/method.d.ts:27


Optional Readonly readonly: boolean

algosdk.ABIMethod.readonly

node_modules/algosdk/dist/types/abi/method.d.ts:39


Readonly returns: Object

NameTypeDescription
desc?stringOptional, user-friendly description for the return value
struct?stringIf the type is a struct, the name of the struct
typeABIReturnType-

algosdk.ABIMethod.returns

src/types/app-arc56.ts:25

getSelector(): Uint8Array

Uint8Array

algosdk.ABIMethod.getSelector

node_modules/algosdk/dist/types/abi/method.d.ts:42


getSignature(): string

string

algosdk.ABIMethod.getSignature

node_modules/algosdk/dist/types/abi/method.d.ts:41


toJSON(): Method

Method

algosdk.ABIMethod.toJSON

src/types/app-arc56.ts:39


txnCount(): number

number

algosdk.ABIMethod.txnCount

node_modules/algosdk/dist/types/abi/method.d.ts:43


fromSignature(signature): ABIMethod

NameType
signaturestring

ABIMethod

algosdk.ABIMethod.fromSignature

node_modules/algosdk/dist/types/abi/method.d.ts:45