Arc56Method
@algorandfoundation/algokit-utils / types/app-arc56 / Arc56Method
types/app-arc56.Arc56Method
Wrapper around algosdk.ABIMethod
that represents an ARC-56 ABI method.
Hierarchy
-
ABIMethod
↳
Arc56Method
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Arc56Method(method
): Arc56Method
Parameters
Name | Type |
---|---|
method | Method |
Returns
Overrides
algosdk.ABIMethod.constructor
Defined in
Properties
args
• Readonly
args: { defaultValue?
: { data
: string
; source
: "method"
| "box"
| "global"
| "local"
| "literal"
; type?
: string
} ; desc?
: string
; name?
: string
; struct?
: string
; type
: ABIArgumentType
}[]
Overrides
algosdk.ABIMethod.args
Defined in
description
• Optional
Readonly
description: string
Inherited from
algosdk.ABIMethod.description
Defined in
node_modules/algosdk/dist/types/abi/method.d.ts:28
events
• Optional
Readonly
events: ARC28Event
[]
Inherited from
algosdk.ABIMethod.events
Defined in
node_modules/algosdk/dist/types/abi/method.d.ts:38
method
• method: Method
Defined in
name
• Readonly
name: string
Inherited from
algosdk.ABIMethod.name
Defined in
node_modules/algosdk/dist/types/abi/method.d.ts:27
readonly
• Optional
Readonly
readonly: boolean
Inherited from
algosdk.ABIMethod.readonly
Defined in
node_modules/algosdk/dist/types/abi/method.d.ts:39
returns
• Readonly
returns: Object
Type declaration
Name | Type | Description |
---|---|---|
desc? | string | Optional, user-friendly description for the return value |
struct? | string | If the type is a struct, the name of the struct |
type | ABIReturnType | - |
Overrides
algosdk.ABIMethod.returns
Defined in
Methods
getSelector
▸ getSelector(): Uint8Array
Returns
Uint8Array
Inherited from
algosdk.ABIMethod.getSelector
Defined in
node_modules/algosdk/dist/types/abi/method.d.ts:42
getSignature
▸ getSignature(): string
Returns
string
Inherited from
algosdk.ABIMethod.getSignature
Defined in
node_modules/algosdk/dist/types/abi/method.d.ts:41
toJSON
▸ toJSON(): Method
Returns
Overrides
algosdk.ABIMethod.toJSON
Defined in
txnCount
▸ txnCount(): number
Returns
number
Inherited from
algosdk.ABIMethod.txnCount
Defined in
node_modules/algosdk/dist/types/abi/method.d.ts:43
fromSignature
▸ fromSignature(signature
): ABIMethod
Parameters
Name | Type |
---|---|
signature | string |
Returns
ABIMethod
Inherited from
algosdk.ABIMethod.fromSignature
Defined in
node_modules/algosdk/dist/types/abi/method.d.ts:45