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_transaction - Tempo RPC Method

Get traces for a specific transaction 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 all traces for a specific transaction on Tempo.

Archive Node Required

This method requires an archive node. It is not available on full nodes.

When to Use This Method

  • Get parity-style transaction trace - Retrieve the full trace of all internal calls, state changes, and value transfers for merchant settlement, treasury operations, payout automation, and stablecoin-native financial applications
  • Analyze internal calls and state changes - See every sub-call, delegate call, and contract creation triggered by a transaction on Tempo
  • Audit transaction execution paths - Follow the exact flow of execution through contracts to verify correctness
  • Track value flows - Trace how funds move through multiple contracts in a single transaction

Best Practices

  • Parity-style traces are more detailed than the debug namespace equivalent
  • Use trace_replayTransaction for combined trace, vmTrace, and stateDiff output
  • Results include both stateDiff and vmTrace sections for comprehensive analysis
  • Requires archive node access; not available on standard full nodes

Response Body

JSON-RPC request
{
  "jsonrpc": "2.0",
  "method": "trace_transaction",
  "params": ["0x50b1857dce8dbe401e09610534de81655bc508c6765eb30ecefe24148c515c28"],
  "id": 1
}

Code Examples

Related Methods

  • trace_get - Get a specific trace by index
  • trace_block - Get all traces in a block
  • trace_filter - Filter traces by criteria

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.

eth_chainId

Get the chain ID for Tempo. Essential for transaction signing and network verification.

On this page

When to Use This MethodBest PracticesCode ExamplesRelated Methods