debug_traceBlockByHash
The debug_traceBlockByHash method returns the traces of all transactions in a block identified by block hash on the BSC (Binance Smart Chain) network. This method provides comprehensive transaction trace data for all transactions within a specific block, useful for detailed block analysis and debugging. Unlike debug_traceBlockByNumber which uses block number, this method uses the block hash as the identifier, ensuring you get the exact block even in cases of chain reorganizations.
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