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.
Type Declaration
Section titled “Type Declaration”{ decodeError: undefined; method: ABIMethod; rawReturnValue: Uint8Array; returnValue: ABIValue; }
decodeError
Section titled “decodeError”decodeError:
undefined
method
Section titled “method”method:
ABIMethod
The method that was called.
rawReturnValue
Section titled “rawReturnValue”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
Section titled “returnValue”returnValue:
ABIValue
The parsed ABI return value.
{ decodeError?: Error; method: ABIMethod; rawReturnValue?: undefined; returnValue?: undefined; }
decodeError?
Section titled “decodeError?”
optionaldecodeError:Error
method
Section titled “method”method:
ABIMethod
rawReturnValue?
Section titled “rawReturnValue?”
optionalrawReturnValue:undefined
returnValue?
Section titled “returnValue?”
optionalreturnValue:undefined