debug_traceBlockByHash
The debug_traceBlockByHash method returns the traces of all transactions in a block identified by block hash on the Optimism network. This method provides comprehensive transaction trace data for all transactions within a specified block, making it essential for detailed block analysis, transaction debugging, and understanding the complete execution flow of all operations in a block.
Parameters
parameter | type | description |
|---|---|---|
blockHash | string (required) | Hash of the block (32 bytes) |
traceConfig | object (optional) | Trace configuration options |
Return Object
The method returns trace data for all transactions in the block.
Request Example
Request
Response Example
Response