debug
debug_traceCall
Trace simulated call
Executes a call against historical or latest state and returns tracer output without broadcasting a transaction. Available only on RPC endpoints with Reth archive node support.POST
https://eth.rpc.pinax.network/v1/<API_KEY>/
Available only on RPC endpoints with Reth archive node support.
Required parameters
| Name | Type | Description |
|---|---|---|
transactionrequired | json | Call object with fields such as <code>from</code>, <code>to</code>, <code>gas</code>, <code>value</code>, and <code>data</code>. e.g. {"to":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","data":"0x18160ddd"} |
blockrequired | block | Block number (hex) or tag. e.g. latest |
Optional parameters
| Name | Type | Description |
|---|---|---|
tracerConfig | json | Optional tracer configuration. e.g. {"tracer":"callTracer","timeout":"30s"} |
Request body
{
"jsonrpc": "2.0",
"id": 1,
"method": "debug_traceCall",
"params": [
"{\"to\":\"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48\",\"data\":\"0x18160ddd\"}",
"latest",
"{\"tracer\":\"callTracer\",\"timeout\":\"30s\"}"
]
}Response
200 OKTrace result object. Shape depends on the selected tracer.
{ "jsonrpc": "2.0", "id": 1, "result": { "type": "CALL", "from": "0x0000000000000000000000000000000000000000", "to": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", "input": "0x18160ddd", "output": "0x000000000000000000000000000000000000000000000000000000174876e800" } }