Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
quantity|tag— the block number as a hexadecimal string, or one of the following block tags:latest— the most recent block in the canonical chainearliest— the genesis blockpending— the pending state/transactions
object(optional) — the tracer options:tracer— the tracer to use (e.g.,callTracer,prestateTracer)tracerConfig— configuration options for the tracertimeout— timeout for the trace operation
Response
result— an array of trace results, one for each transaction in the block. The structure of each trace depends on the tracer used.
debug_traceBlockByNumber code examples
Use case
A practical use case fordebug_traceBlockByNumber is building block analysis tools that need to understand the complete execution flow of all transactions in a block, such as MEV detection or security monitoring systems.Body
application/json