debug_traceBlock - Avalanche C-Chain
Summary
Returns a full stack trace of all invoked opcodes of all transactions that were included in a block.Parameters
1. Block Number Quantity or Tag
The RLP encoded block. Hex block number, or the tag
latest
, earliest
or pending
Example:Â
latest or pending
2. Tracer Object
Tracer String
Type of tracer, either
callTracer
or prestateTracer
Example:Â
{"tracer": "callTracer"}
Only Top Call Boolean
When true, only top level call will be traced and no sub-calls.
Example:Â
{"tracer": "callTracer", "tracerConfig": {"onlyTopCall": true}}