Docs
Supported ChainsTempoJSON-RPC APITrace Methods

trace_replayTransaction - Tempo RPC Method

Replay a transaction and return traces on Tempo. Requires archive node for merchant settlement, treasury operations, payout automation, and stablecoin-native financial applications.

Replays a transaction 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

  • Transaction replay - Re-execute a transaction with full trace output
  • State diff extraction - Get exact state changes from a transaction
  • VM trace debugging - Get opcode-level execution details for merchant settlement, treasury operations, payout automation, and stablecoin-native financial applications

Request Parameters

Request
txHashDATA

32-byte transaction hash

traceTypesArray

Trace types: ["trace"], ["vmTrace"], ["stateDiff"], or combinations

Response Body

Response

Code Examples

Bash
curl -X POST https://api-tempo-mainnet.n.dwellir.com/YOUR_API_KEY \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "trace_replayTransaction",
    "params": ["0x50b1857dce8dbe401e09610534de81655bc508c6765eb30ecefe24148c515c28", ["trace"]],
    "id": 1
  }'

On this page