eth_getTransactionByBlockHashAndIndex
Returns information about a transaction by block hash and transaction index position.
Last updated
curl https://rpc.adiri.tel \
-X POST \
-H "Content-Type: application/json" \
--data '{"jsonrpc":"2.0","method":"eth_getTransactionByBlockHashAndIndex","params":[
"0x3874ed915e305246b75c0d388827f2d23df451ac901c07618154bcf03e5ac519",
"0x0"]
,"id":1}'{
"jsonrpc": "2.0",
"result": {
"hash": "0xadbfc093b90e69b6fdf3a843f03ef65c5c247e0593d3853b53d37c825e81339a",
"nonce": "0x2bd",
"blockHash": "0x3874ed915e305246b75c0d388827f2d23df451ac901c07618154bcf03e5ac519",
"blockNumber": "0x608225",
"transactionIndex": "0x0",
"from": "0x3da87b1c3743bd2da60df2ef1bc6f26ef9da6086",
"to": "0x5eb15fedcca9cb9c5424167e329fd56905ffe0e3",
"value": "0x8203404a3db680000",
"gasPrice": "0xb2d05e07",
"gas": "0x29810",
"input": "0x7ff36ab5000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000003da87b1c3743bd2da60df2ef1bc6f26ef9da608600000000000000000000000000000000000000000000000000000000667b16b7000000000000000000000000000000000000000000000000000000000000000200000000000000000000000080d1f6dafc9c13e9d19aedf75e3c1e2586d4a2a5000000000000000000000000a2c07c15173c183771ffad40c2e972f97e0bce64",
"r": "0xd527419716bc6eb25e74420a7a28e6f3793ead979c8ca6ed8b1b27245470c83d",
"s": "0x6bef1d101db08d829080d43b823a4896e5971f5794aaef508ea2cffea52ef9c1",
"v": "0xfe5",
"chainId": "0x7e1",
"type": "0x0"
},
"id": 1
}