Skip to main content

trace_transaction

Returns all traces for a specific transaction on Hyperliquid.

Archive Node Required

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

Use Cases#

  • Transaction analysis - See all internal calls made by a transaction
  • Token transfer tracking - Trace value flows through contracts
  • Debugging - Understand execution flow for perpetual futures trading, onchain order books, and institutional-grade derivatives

Parameters#

ParameterTypeRequiredDescription
txHashDATAYes32-byte transaction hash

Request#

{
"jsonrpc": "2.0",
"method": "trace_transaction",
"params": ["0x090cd1f41962604b7efbc2b3c93b536dc7716c8c3487bfe2ba3ff4fe57df0614"],
"id": 1
}

Code Examples#

curl -X POST https://api-hyperliquid-mainnet-evm.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "trace_transaction",
"params": ["0x090cd1f41962604b7efbc2b3c93b536dc7716c8c3487bfe2ba3ff4fe57df0614"],
"id": 1
}'