Docs

trace_get - Hyperliquid RPC Method

Get a specific trace by transaction hash and index on Hyperliquid. Requires archive node for perpetual futures trading, onchain order books, and institutional-grade derivatives.

Returns a trace at a specific position within a transaction on Hyperliquid.

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 Hyperliquid
  • Pinpoint specific internal calls - Isolate a particular sub-call at a known position in the call tree for perpetual futures trading, onchain order books, and institutional-grade derivatives
  • 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

Response

Code Examples