eth_getTransactionByBlockNumberAndIndex - Ethereum
Retrieve transaction information by block number and index using eth_getTransactionByBlockNumberAndIndex. Essential for tracking and validating transactions within specific blocks on the Ethereum.
Supported Networks
Parameters
Request
https://go.getblock.io/<ACCESS-TOKEN>/curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"method": "eth_getTransactionByBlockNumberAndIndex",
"params": [
"0x52A96E",
"0x1"
],
"id": "getblock.io"
}'wscat -c wss://go.getblock.io/<ACCESS-TOKEN>/
# wait for connection and send the request body
{"jsonrpc": "2.0",
"method": "eth_getTransactionByBlockNumberAndIndex",
"params": ["0x52A96E", "0x1"],
"id": "getblock.io"}Response
Response Description
Use Case
Code Example
Last updated
Was this helpful?