Docs
Docs
Home
Getting Started
Agent Tooling
CLI
Supported Chains
Acala
Aptos
Arbitrum
Arc
Asset Hub
Astar
Avalanche
Base
Berachain
Bifrost
Binance Smart Chain
Bittensor
Blast
Boba Network
Bridge Hub
Celo
Centrifuge
Chiliz
Cronos
Enjin
Ethereum
Etherlink
Flow EVM Gateway
Gnosis
Hydration
Hyperliquid
Immutable
Ink
IoTeX
Kusama
Linea
LISK
Manta Atlantic
Manta Pacific
Mantle
MegaETH
Monad
Movement
Neuroweb
opBNB
Optimism
Plasma
Polkadot
Polygon
Pulsechain
Robinhood
Ronin
Scroll
Sonic
Starknet
Taiko
Tempo
Sui
TRON
Unichain
Viction
World Chain
XDC Network
XX Network
Zetachain
zkSync Era
Zora
Supported ChainsTempoJSON-RPC APITrace Methods

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.

Tempo RPC endpoint: endpoint URLs, plans and pricing.

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.

When to Use This Method

  • Replay all transactions in a block - Get vmTrace, stateDiff, and trace for every transaction in a block on Tempo
  • Comprehensive block-level execution analysis - Audit exactly how each transaction in a block modified state for merchant settlement, treasury operations, payout automation, and stablecoin-native financial applications
  • Audit entire block execution - Verify that all transactions in a block executed as expected
  • Historical block replay - Re-execute blocks at any point in Tempo chain history

Best Practices

  • Very resource-intensive; each transaction is fully traced with all requested types
  • Limit to small blocks or use specific tracer types to reduce response size
  • Request only the trace types you actually need to minimize overhead
  • Requires archive node access; not available on standard full nodes

Response Body

JSON-RPC request
{
  "jsonrpc": "2.0",
  "method": "trace_replayBlockTransactions",
  "params": ["latest", ["trace"]],
  "id": 1
}

Code Examples

Related Methods

  • trace_replayTransaction - Replay a single transaction
  • trace_block - Get traces without replay
  • trace_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.

On this page

When to Use This MethodBest PracticesCode ExamplesRelated Methods