Interface ABIResult

Represents the output from a successful ABI method call.

Hierarchy

  • ABIResult

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.

txInfo?: Record<string, any>

The pending transaction information from the method transaction

Generated using TypeDoc