debug_traceBlockByHash

Replays the block that is already present in the database.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
Block hashstringRequiredformat: "^0x[0-9a-f]{64}$"

Block hash for the block to be traced.

TracerobjectRequired

Tracer object for the call.

Response

Array of block traces.

typestringOptional

CALL or CREATE

fromstringOptional

20-byte address of the caller

tostringOptional

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

valuestringOptional

Amount of value included in the transfer (in hex)

gasstringOptional

Amount of gas provided for the call (in hex)

gasUsedstringOptional

Amount of gas used during the call (in hex)

inputstringOptional

Call data

outputstringOptional

Return data

errorstringOptional

Error message, if any.

revertReasonstringOptional

Solidity revert reason, if any.

callslist of objectsOptional

Array of sub-calls made within the transaction.