Docs

eth_getTransactionByHash - Hyperliquid RPC Method

Retrieve transaction details by hash on Hyperliquid. Essential for derivatives traders, DeFi protocols, and teams building high-frequency trading applications tracking transactions on the trading-focused EVM and HyperCore ecosystem built for onchain perpetuals and market data.

Returns the information about a transaction by transaction hash on Hyperliquid.

Why Hyperliquid? Build on the trading-focused EVM and HyperCore ecosystem built for onchain perpetuals and market data with HyperCore market structure, sub-second finality, and direct access to trading-focused data services.

Use Cases

The eth_getTransactionByHash method is essential for:

  • Transaction tracking - Get details of pending or confirmed transactions
  • Payment verification - Verify transaction parameters
  • Debugging - Analyze transaction data for perpetual futures trading, onchain order books, and institutional-grade derivatives
  • Block explorers - Display transaction information

Code Examples

Error Handling

Error CodeMessageDescription
-32602Invalid paramsInvalid transaction hash format