eth_getTransactionByBlockNumberAndIndex
Returns information about a transaction by block number and transaction index position.
Parameters
Quantityortag- choose 1 of the following options:A hexadecimal block number.
"earliest"- the earliest/genesis block."latest"- the latest mined block."finalized"- the latest finalized block."pending"- the pending state/transactions.
Index positionof the transaction in hex code.
Sample Request
curl https://lb.nodies.app/v1/<INSERT URL> \
-H "x-api-key: <API-KEY>" \
-X POST \
-H "Content-Type: application/json" \
-d '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_getTransactionByBlockNumberAndIndex",
"params": [
"pending",
"0x0"
]
}'Sample Response
Last updated