Parameters
QUANTITY|TAG- Block number, or the string "earliest", "latest".QUANTITY- Transaction index position.
Returns
object- a transaction object or null when no transaction was found. See eth_getTransactionByBlockHashAndIndex
Example
Request
curl -X POST 'https://api.shasta.trongrid.io/jsonrpc' --data '{
"jsonrpc": "2.0",
"method": "eth_getTransactionByBlockNumberAndIndex",
"params": ["0xfb82f0", "0x0"],
"id": 64
}'Response
{"jsonrpc":"2.0","id":64,"result":null}