getApplicationLog

Gets the application log for the specified transaction.

Parameters

1. txid (required)

UInt256

The transaction hash to inspect.

Returns

Promise<ApplicationLog>

type ApplicationLog = {
  txid: UInt256;
  executions: {
    trigger: TriggerType;
    vmstate: VMState;
    exception?: string;
    gasconsumed: Integer;
    stack: StackItem[];
    notifications: Notification[];
  }[];
};

Errors

Code
Name
Description

10002

INVALID

The transaction hash is invalid.

10008

RPC_ERROR

The RPC server returned an error.

Example

Request

Response

最后更新于