Docs
Supported ChainsTempoJSON-RPC APITrace Methods

trace_call - Tempo RPC Method

Trace a call without creating a transaction on Tempo. Requires archive node for merchant settlement, treasury operations, payout automation, and stablecoin-native financial applications.

Traces a call without creating a transaction on Tempo, returning the trace output.

Archive Node Required

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

Use Cases

  • Call simulation - Preview internal calls before sending a transaction
  • Contract interaction analysis - Understand how contracts interact
  • Gas estimation - Analyze gas usage patterns for merchant settlement, treasury operations, payout automation, and stablecoin-native financial applications

Request Parameters

Request
callObjectObject

Transaction call object (from, to, gas, value, data)

traceTypesArray

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

blockNumberQUANTITY|TAG

Block number or tag (default: latest)

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_call",
    "params": [
      {"to": "0x0bd34b0a5be345c9bf7a147eb698e993511180cb", "data": "0x70a082310000000000000000000000000bd34b0a5be345c9bf7a147eb698e993511180cb"},
      ["trace"],
      "latest"
    ],
    "id": 1
  }'

On this page