Docs

trace_replayTransaction - Hyperliquid RPC Method

Replay a transaction and return traces on Hyperliquid. Requires archive node for perpetual futures trading, onchain order books, and institutional-grade derivatives.

Replays a transaction on Hyperliquid and returns the requested traces.

Archive Node Required

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

Use Cases

  • Transaction replay - Re-execute a transaction with full trace output
  • State diff extraction - Get exact state changes from a transaction
  • VM trace debugging - Get opcode-level execution details for perpetual futures trading, onchain order books, and institutional-grade derivatives

Response Body

Response

Code Examples