debug_traceBlock
The debug_traceBlock method returns the full trace of all invocations of all EVM instructions for all transactions in a given block on the Avalanche C-Chain network. Similar to debug_traceBlockByHash but takes a raw RLP-encoded block as parameter, this method is useful for analyzing blocks before they are imported or for debugging block processing logic.
Parameters
parameter | type | description |
|---|---|---|
rlpBlock | string (required) | RLP-encoded block data |
traceConfig | object (optional) | Trace configuration options |
Return Object
Returns an array of transaction traces for all transactions in the RLP-encoded block.
Request Example
Request
Response Example
Response