Virtual TestNets are live! ⚡️ Test and stage dapps on real-time production data.
Get started →

All Products

debug_traceBlockByNumber - Fraxtal Holesky


Summary

Returns the tracing result by executing all transactions in the block specified by number with a tracer.


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}}

debug_traceBlockByNumber response example

Code Example

debug_traceBlockByNumber curl

Don’t have an Access Key?

Start using this API in your app today.

Get started for free