trace_block - Tempo RPC Method
Get traces for all transactions in a block on Tempo. Requires archive node for merchant settlement, treasury operations, payout automation, and stablecoin-native financial applications.
Returns traces for all transactions in a block on Tempo.
Archive Node Required
This method requires an archive node. It is not available on full nodes.
Use Cases
- Block analysis - Inspect all internal transactions in a block
- MEV research - Analyze transaction ordering and internal calls
- Indexing - Build comprehensive transaction indexes for merchant settlement, treasury operations, payout automation, and stablecoin-native financial applications
Request Parameters
Block number in hex or tag (latest, earliest, pending)
Response Body
Code Examples
curl -X POST https://api-tempo-mainnet.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "trace_block",
"params": ["latest"],
"id": 1
}'Related Methods
trace_filter- Filter traces by address or block rangetrace_transaction- Trace a specific transactiontrace_get- Get a specific trace by index
debug_traceTransaction
Trace a transaction execution on Tempo. Requires archive node for debugging merchant settlement, treasury operations, payout automation, and stablecoin-native financial applications.
trace_call
Trace a call without creating a transaction on Tempo. Requires archive node for merchant settlement, treasury operations, payout automation, and stablecoin-native financial applications.