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.
Parameters
Section titled “Parameters”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
structs
Section titled “structs”Record<string, StructField[]>
The defined ARC-56 structs
Returns
Section titled “Returns”ABIValue | ABIStruct
The decoded ABI value or struct