eth_getTransactionByHash
Returns the information about a given transaction based on its hash.
Parameters
Transaction Hash
.
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_getTransactionByHash",
"params": [
"0x798b82a2438d4ff8f7c2601e3fd156a40c5ae7cda3e08c764c44b49eff6f9232"
]
}'
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0x0d63c4917b5666e99af85d4416db156b96be79de15b14aec8fc74494d3a18ec5",
"blockNumber": "0x1575288",
"from": "0x5d2a4471599a69075abecddf54b7e092dc170172",
"gas": "0x50f1e",
"gasPrice": "0x6fc23ac00",
"hash": "0x798b82a2438d4ff8f7c2601e3fd156a40c5ae7cda3e08c764c44b49eff6f9232",
"input": "0x415565b0000000000000000000000000d6df932a45c0f255f85145f286ea0b292b21c90b000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000000000000000000000000000000000994799b929660000000000000000000000000000000000000000000000000033a9849d76df3300000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d6df932a45c0f255f85145f286ea0b292b21c90b0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000994799b9296600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000002517569636b53776170000000000000000000000000000000000000000000000000000000000000000000994799b929660000000000000000000000000000000000000000000000000033a9849d76df33000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000a5e0829caced8ffdd4de3c43696c57f7d7a678ff00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000d6df932a45c0f255f85145f286ea0b292b21c90b0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000d6df932a45c0f255f85145f286ea0b292b21c90b0000000000000000000000000000000000000000000000000000000000000000869584cd0000000000000000000000003ce37278de6388532c3949ce4e886f365b14fb560000000000000000000000000000000000000000000000bc75b43bd561b81a03",
"nonce": "0x2c",
"to": "0xdef1c0ded9bec7f1a1670819833240f027b25eff",
"transactionIndex": "0xb",
"value": "0x0",
"type": "0x0",
"chainId": "0x89",
"v": "0x136",
"r": "0x65c3d9dcdff0a1d75aa31752a6e29eb902ad310978d6f749b0e0b917684aef87",
"s": "0x2b89625ea668f5dbf99ddb0c86663ecf67d9fa58f67f5caa40d97bcf07453772"
}
}
Last updated