curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "eth_getRawTransactionByBlockHashAndIndex",
"params": [
"0x2ce91ae0ed242b4b78b432a45b982fb81a414d6b04167762ed3c7446710a4b8e",
"0x0"
],
"id": 1
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": "0xf86c0185037e11d6008252089433c3321b162edac1fdbb53af2962b2940c07e334880de0b6b3a76400008026a01234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdefa0abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab"
}Returns the raw transaction data by block hash and transaction index.
curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "eth_getRawTransactionByBlockHashAndIndex",
"params": [
"0x2ce91ae0ed242b4b78b432a45b982fb81a414d6b04167762ed3c7446710a4b8e",
"0x0"
],
"id": 1
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": "0xf86c0185037e11d6008252089433c3321b162edac1fdbb53af2962b2940c07e334880de0b6b3a76400008026a01234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdefa0abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab"
}blockHash (string, required) — The 32-byte hash of the blocktransactionIndex (string, required) — The index position of the transaction in the block (hex string)null 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.
JSON-RPC version
2.0 The RPC method name
eth_getRawTransactionByBlockHashAndIndex Parameters: [blockHash, transactionIndex]
Request identifier
Was this page helpful?