Interface ABIResult

Represents the output from a successful ABI method call.

interface ABIResult {
    decodeError?: Error;
    method: ABIMethod;
    rawReturnValue: Uint8Array;
    returnValue?: ABIValue;
    txID: string;
    txInfo?: PendingTransactionResponse;
}

Properties

decodeError?: Error

If the SDK was unable to decode a return value, the error will be here.

method: ABIMethod

The method that was called for this result

rawReturnValue: Uint8Array

The raw bytes of the return value from the ABI method call. This will be empty if the method does not return a value (return type "void").

returnValue?: ABIValue

The return value from the ABI method call. This will be undefined if the method does not return a value (return type "void"), or if the SDK was unable to decode the returned value.

txID: string

The TxID of the transaction that invoked the ABI method call.

The pending transaction information from the method transaction

Generated using TypeDoc