Skip to content
Algorand Developer Portal

ABIReturn

ABIReturn = { decodeError: undefined; method: ABIMethod; rawReturnValue: Uint8Array; returnValue: ABIValue; } | { decodeError?: Error; method: ABIMethod; rawReturnValue?: undefined; returnValue?: undefined; }

Defined in: packages/abi/src/abi-method.ts:54

Represents an ABI method return value with parsed data.

{ decodeError: undefined; method: ABIMethod; rawReturnValue: Uint8Array; returnValue: ABIValue; }

decodeError: undefined

method: ABIMethod

The method that was called.

rawReturnValue: Uint8Array

The raw return value as bytes.

This is the value from the last app call log with the first 4 bytes (the ABI return prefix) omitted.

returnValue: ABIValue

The parsed ABI return value.

{ decodeError?: Error; method: ABIMethod; rawReturnValue?: undefined; returnValue?: undefined; }

optional decodeError: Error

method: ABIMethod

optional rawReturnValue: undefined

optional returnValue: undefined