Returns information about a transaction by block number and transaction index position.
QUANTITY|TAG
- a block number, or the string "earliest"
, "latest"
or "pending"
, as in the default block parameter.QUANTITY
- the transaction index position.params: [
'0x29c', // 668
'0x0' // 0
]
// Request
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getTransactionByBlockNumberAndIndex","params":["0x29c", "0x0"],"id":1}'
Result see eth_getTransactionByHash