trace_get - Gnosis RPC Method
Get a specific trace by transaction hash and index on Gnosis. Requires archive node for prediction markets (largest by market cap), Safe wallet infrastructure, CoW Protocol DEX, and Gnosis Pay card integration.
Returns a trace at a specific position within a transaction on Gnosis.
Archive Node Required
This method requires an archive node. It is not available on full nodes.
When to Use This Method
- Get a specific trace by transaction hash and trace index - Retrieve individual trace entries from a transaction on Gnosis
- Pinpoint specific internal calls - Isolate a particular sub-call at a known position in the call tree for prediction markets (largest by market cap), Safe wallet infrastructure, CoW Protocol DEX, and Gnosis Pay card integration
- Targeted debugging - Investigate a specific call depth without retrieving the full transaction trace
- Combine with trace_transaction - Discover trace indices from the full trace, then fetch details individually
Best Practices
- Requires knowing the trace address and index in advance
- Combine with trace_transaction to discover trace indices first
- Supports fetching multiple traces by passing an array of indices
- Requires archive node access; not available on standard full nodes
Response Body
ResponseCode Examples
Related Methods
trace_transaction- Get all traces for a transactiontrace_block- Get all traces in a block
trace_filter
Filter traces by address and block range on Gnosis. Requires archive node for prediction markets (largest by market cap), Safe wallet infrastructure, CoW Protocol DEX, and Gnosis Pay card integration.
trace_replayBlockTransactions
Replay all transactions in a block and return traces on Gnosis. Requires archive node for prediction markets (largest by market cap), Safe wallet infrastructure, CoW Protocol DEX, and Gnosis Pay card integration.