debug_traceBlockByNumber

Replays the block that is already present in the database.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
Block numberstring or enumRequired

The block number or tag (e.g., “latest”, “earliest”).

TracerobjectOptional
Tracer object for the call.

Response

Array of block traces.
typestring or null
CALL or CREATE
fromstring or null

20-byte address of the caller

tostring or null

20-byte address of the recipient. Null when its a contract creation transaction.

valuestring or null

Amount of value included in the transfer (in hex)

gasstring or null

Amount of gas provided for the call (in hex)

gasUsedstring or null

Amount of gas used during the call (in hex)

inputstring or null
Call data
outputstring or null
Return data
errorstring or null
Error message, if any.
revertReasonstring or null
Solidity revert reason, if any.
callslist of objects or null

Array of sub-calls made within the transaction.