pulsechain.box
debug

debug_traceCall

Simulates a call and returns the execution trace without creating a transaction.

Simulates a call and returns the execution trace without creating a transaction on-chain. Useful for debugging smart contract interactions.

Parameters

#TypeDescription
1objectTransaction call object — to, from (optional), data, value (optional), gas (optional).
2stringBlock number (hex) or block tag ("latest", "earliest", "pending").
3object(optional) Tracer options — {"tracer": "callTracer"} or {"tracer": "prestateTracer"}.

Returns

Trace result object with gas, returnValue, structLogs (or named tracer output).

Example

curl -s -X POST https://rpc.pulsechain.box \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "debug_traceCall",
    "params": [
      {
        "to": "0xA1077a294dDE1B09bB078844df40758a5D0f9a27",
        "data": "0x18160ddd"
      },
      "latest"
    ],
    "id": 1
  }'
TRY IT

Notes

  • Like eth_call but returns the full execution trace instead of just the return value.
  • The callTracer option returns a much smaller call tree instead of raw EVM steps.
  • No state changes are persisted — this is a pure simulation.
Copyright © 2026 AvecdrA. Made with love.