debug_traceBlockByHash
The debug_traceBlockByHash method returns the traces of all transactions in a block identified by block hash on the Avalanche C-Chain network. This method provides comprehensive transaction trace data for all transactions within a specific block, making it essential for detailed block analysis, debugging multiple transactions simultaneously, and understanding the complete execution flow of all operations within a block.
Parameters
parameter | type | description |
|---|---|---|
blockHash | string (required) | The hash of the block to trace (32 bytes) |
traceConfig | object (optional) | Trace configuration options (tracer, timeout, etc.) |
Return Object
The method returns an array containing trace data for all transactions in the block.
Request Example
Request
Response Example
Response