Docs

trace_call - Hyperliquid RPC Method

Trace a call without creating a transaction on Hyperliquid. Requires archive node for perpetual futures trading, onchain order books, and institutional-grade derivatives.

Traces a call without creating a transaction on Hyperliquid, returning the trace output.

Archive Node Required

This method requires an archive node. It is not available on full nodes.

Use Cases

  • Call simulation - Preview internal calls before sending a transaction
  • Contract interaction analysis - Understand how contracts interact
  • Gas estimation - Analyze gas usage patterns for perpetual futures trading, onchain order books, and institutional-grade derivatives

Response Body

Response

Code Examples