eth_getTransactionByBlockHashAndIndex
Returns the information about a transaction requested by Block hash and index.
Last updated
Was this helpful?
Returns the information about a transaction requested by Block hash and index.
Last updated
Was this helpful?
Was this helpful?
// Request
curl https://gnosis.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_getTransactionByBlockHashAndIndex","params":["0xf763dcf18ee553e1ca8bd5360d065e9ce3453383502a6a2c9dadf1646bb6a2e7", "0x0"],"id":1}'
// Result
{
"jsonrpc": "2.0",
"result": {
"hash": "0x4182c1c7e7075a984c7c99af3563356128a3ecbb5848c651ae1462eb0e0f0a89",
"nonce": "0x1f0047",
"blockHash": "0xf763dcf18ee553e1ca8bd5360d065e9ce3453383502a6a2c9dadf1646bb6a2e7",
"blockNumber": "0x189bee7",
"transactionIndex": "0x0",
"from": "0x72d9e579f691d62aa7e0703840db6dd2fa9fae21",
"to": "0x33006564bb686b7635a77c3be3bceb0e50bd2eb7",
"value": "0x5404be191810c00",
"gasPrice": "0xb2d05e00",
"gas": "0x5208",
"data": "0x",
"input": "0x",
"type": "0x0",
"v": "0xec",
"s": "0x2229fac1939a581d4b24d1a7cd07233d52733fe9a5fa21b04f89edd1f0f7a626",
"r": "0xd8458ab0f7f9608731fe025e26bd632e27800ee463b81ffb7f5b6d10d7689cfa"
},
"id": 1
}