trace_transaction

Returns execution traces for a transaction by hash.

Request

This endpoint expects an object.
transactionHashstringRequiredformat: "^0x[a-fA-F0-9]{64}$"
Hash of the transaction to trace.

Response

Execution traces for the transaction.
actionobject
Common fields describing a trace action.
blockHashstringformat: "^0x[a-fA-F0-9]{64}$"

32-byte block hash.

blockNumberstringformat: "^0x(?:0|[1-9a-fA-F][a-fA-F0-9]*)$"

Hex-encoded integer quantity.

resultobject or null
Common fields returned by a trace action.
subtracesinteger>=0
Number of child traces.
traceAddresslist of integers
Path to the trace within the transaction execution tree.
transactionHashstring or nullformat: "^0x[a-fA-F0-9]{64}$"

32-byte transaction hash.

transactionPositionstring or nullformat: "^0x(?:0|[1-9a-fA-F][a-fA-F0-9]*)$"

Hex-encoded integer quantity.

typeenum
Trace action category returned in trace results. This is not a traceTypes request value.
errorstringOptional
Error returned for the trace, when execution failed.