Pre-alphaWork in progress
Skip to content

trace_get ​

Returns a selected call frame from a transaction trace.

Erigon reference · All supported methods

Parameters ​

Parameters are positional, in the order below.

ParameterTypeRequiredDescription
transactionHash32-byte hashYesTransaction to inspect.
traceAddressArray of integersYesPath to a call frame in the transaction’s trace tree.

Return value ​

A call-trace object (trace_get) or array of call traces. Entries identify the action, result or execution error, call path, and containing transaction/block where applicable. A missing selected frame returns null.

Example ​

Replace <gateway-url> with your gateway base URL and <service-url> with the chain’s service path, such as service/ethereum.

sh
curl -X POST "<gateway-url>/<service-url>" \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","id":1,"method":"trace_get","params":["0x1111111111111111111111111111111111111111111111111111111111111111",[0]]}'

Illustrative response; values depend on the selected network and request:

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": null
}

Direct behavior ​

The gateway selects providers supporting the requested tracing group and format. Unsupported formats are rejected rather than replaced.

The tracing group must cover the requested historical blocks or transactions. Providers may supply the result using retained trace indexes or replay; Direct checks the advertised coverage.

Limits ​

Reconstruction, internal splitting, and recovery share the gateway deadline; none gives the request an unlimited fresh budget.

For providers ​

Qualify for the entire applicable tracing group, including required formats and options. Historical combinations are verified separately; recent success alone does not establish historical coverage.

See provider qualification for checks and continued eligibility.

Unstoppable Infrastructure.