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
blockHash
(string, required) — The 32-byte hash of the blocktransactionIndex
(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 (e.g., “0x0” for the first transaction, “0x1” for the second).
Use cases
- Block analysis — Extract raw transactions from specific blocks
- Transaction reconstruction — Rebuild transactions from block data
- Cross-chain verification — Verify transaction encoding across networks
- Archive tools — Efficiently process transactions by block position
- Forensic investigation — Analyze transaction ordering within blocks
- Data migration — Transfer transaction data between systems
Body
application/json
JSON-RPC version
Available options:
2.0
The RPC method name
Available options:
eth_getRawTransactionByBlockHashAndIndex
Parameters: [blockHash, transactionIndex]
Request identifier