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 Code | Message | Description |
|---|---|---|
| -32602 | Invalid params | Invalid transaction hash format |
Related Methods
eth_getTransactionReceipt- Get transaction receipteth_sendRawTransaction- Send transaction
eth_sendRawTransaction
Submit signed transactions to Hyperliquid. Essential for broadcasting transactions for perpetual futures trading, onchain order books, and institutional-grade derivatives.
eth_getTransactionReceipt
Get transaction receipt with status and logs on Hyperliquid. Essential for verifying transaction execution for perpetual futures trading, onchain order books, and institutional-grade derivatives.