Skip to content

getABIDecodedValue

getABIDecodedValue(value, type, structs): ABIValue | ABIStruct

Defined in: algokit-utils-ts/src/types/app-arc56.ts:134

Returns the decoded ABI value (or struct for a struct type) for the given raw Algorand value given an ARC-56 type and defined ARC-56 structs.

number | bigint | Uint8Array<ArrayBufferLike>

The raw Algorand value (bytes or uint64)

string

The ARC-56 type - either an ABI Type string or a struct name

Record<string, StructField[]>

The defined ARC-56 structs

ABIValue | ABIStruct

The decoded ABI value or struct