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_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.

Tempo RPC endpoint: endpoint URLs, plans and pricing.

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.

When to Use This Method

  • Trace all transactions in a block by block number - Get the full trace of every transaction in a block on Tempo
  • Block-level execution analysis - Inspect all internal calls, transfers, and contract interactions within a block for merchant settlement, treasury operations, payout automation, and stablecoin-native financial applications
  • MEV research - Analyze transaction ordering, sandwich patterns, and arbitrage across a full block
  • Historical block replay - Replay and trace blocks at any point in Tempo chain history

Best Practices

  • Similar to trace_replayBlockTransactions but without explicit replay configuration
  • Use block hash variant (debug_traceBlockByHash) for reorg-safe queries
  • Traces from dense blocks can be very large; process results in batches
  • Requires archive node access; not available on standard full nodes

Response Body

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

Code Examples

Related Methods

  • trace_filter - Filter traces by address or block range
  • trace_transaction - Trace a specific transaction
  • trace_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

Simulate a call on Tempo with Parity-style trace_call. Choose trace, vmTrace or stateDiff output for a block, without sending a transaction.

On this page

When to Use This MethodBest PracticesCode ExamplesRelated Methods