trace_block

Returns execution traces for all transactions in a block.

Request

This endpoint expects an object.
blockstring or enumRequired
Block number or tag to trace.

Response

Execution traces for all transactions in the block.
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.