debug_traceBlockByNumber
Debug & trace | Tempo
debug_traceBlockByNumber | Tempo
Tempo API method that returns detailed traces for all transactions in a block specified by block number. Chainstack Tempo reference.
POST
debug_traceBlockByNumber
Tempo API method that returns detailed traces for all transactions in a block specified by block number. This is useful for analyzing all contract interactions within a specific block.Documentation Index
Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
Use this file to discover all available pages before exploring further.
Get your 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
blockNumber— the block number (hex) or tag (latest,earliest,pending)tracerConfig— (optional) tracer configuration object:tracer— tracer type (e.g.,callTracer,prestateTracer)timeout— (optional) timeout for the tracetracerConfig— (optional) tracer-specific configuration
Response
result— array of trace objects, one for each transaction in the block. The format depends on the tracer used.
callTracer, each trace contains:
from— sender addressto— recipient addressgas— gas providedgasUsed— gas consumedinput— call dataoutput— return datacalls— nested array of internal callstype— call type (CALL, DELEGATECALL, etc.)
debug_traceBlockByNumber code examples
Last modified on May 18, 2026