eth_getRawTransactionByBlockNumberAndIndex
Hyperliquid node API
eth_getRawTransactionByBlockNumberAndIndex | Hyperliquid EVM
Returns the raw transaction data by block number and transaction index. eth_getRawTransactionByBlockNumberAndIndex on Hyperliquid EVM via Chainstack.
POST
eth_getRawTransactionByBlockNumberAndIndex
This method is available on Chainstack. Not all Hyperliquid methods are available on Chainstack, as the open-source node implementation does not support them yet — see Hyperliquid methods for the full availability breakdown.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
blockNumber(string, required) — Block number in hex format, or one of the special tags: “earliest”, “latest”, “pending”, or “finalized”transactionIndex(string, required) — The index position of the transaction in the block (hex string)
Returns
Returns the raw transaction data as a hex-encoded string, ornull if the block or transaction is not found.
The raw transaction data is RLP-encoded and includes all transaction fields in their original binary format.
Transaction indices start from 0x0. Use hex format for the index parameter. Block number can be a hex string (e.g., “0x64”) or special tags like “latest” for the most recent block.
Use cases
- Latest block analysis — Extract raw transactions from the newest blocks
- Historical data processing — Process transactions from specific block heights
- Streaming transaction data — Monitor new transactions as blocks are mined
- Data pipeline integration — Feed raw transaction data to processing systems
- Backup and recovery — Create transaction backups in original format
- Performance testing — Replay transactions for load testing
Example request
Use your own endpoint in your code. The code examples use a placeholder Chainstack endpoint (YOUR_CHAINSTACK_ENDPOINT) — replace it with your own Hyperliquid node endpoint from the Chainstack console. The curl above uses a shared public endpoint for quick checks only; do not use it in production.
Body
application/json
JSON-RPC version
Available options:
2.0 The RPC method name
Available options:
eth_getRawTransactionByBlockNumberAndIndex Parameters: [blockNumber, transactionIndex]
Request identifier
Last modified on June 24, 2026