trace_replayBlockTransactions - Tempo RPC Method
Replay all transactions in a block and return traces on Tempo. Requires archive node for merchant settlement, treasury operations, payout automation, and stablecoin-native financial applications.
Replays all transactions in a block on Tempo and returns the requested traces.
Archive Node Required
This method requires an archive node. It is not available on full nodes.
Use Cases
- Block replay - Re-execute all transactions with full trace output
- State diff analysis - Get state changes for every transaction in a block
- VM trace extraction - Obtain detailed EVM execution traces for merchant settlement, treasury operations, payout automation, and stablecoin-native financial applications
Request Parameters
Block number in hex or tag
Trace types: ["trace"], ["vmTrace"], ["stateDiff"], or combinations
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_replayBlockTransactions",
"params": ["latest", ["trace"]],
"id": 1
}'Related Methods
trace_replayTransaction- Replay a single transactiontrace_block- Get traces without replaytrace_filter- Filter traces by criteria
trace_get
Get a specific trace by transaction hash and index on Tempo. Requires archive node for merchant settlement, treasury operations, payout automation, and stablecoin-native financial applications.
trace_replayTransaction
Replay a transaction and return traces on Tempo. Requires archive node for merchant settlement, treasury operations, payout automation, and stablecoin-native financial applications.