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": [
"0x986c7c3c9d963a5353e4cf5d82745d19117d89574ca2a9d380fb5fe687814c67"
]
}'
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0x9c202ef1aa0f28a315fc2eae613ee1bac158e722af9a4f34c76e466aa014536e",
"blockNumber": "0x9582c5",
"from": "0x2f44ada9820b28ab076169a92594ea7d8540b32c",
"gas": "0xc827",
"gasPrice": "0x3d77a0500",
"hash": "0x986c7c3c9d963a5353e4cf5d82745d19117d89574ca2a9d380fb5fe687814c67",
"input": "0x095ea7b30000000000000000000000001e876cce41b7b844fde09e38fa1cf00f213bff56ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
"nonce": "0x14",
"to": "0x967b7b265da1506645ea464980a86fea309454b4",
"transactionIndex": "0x0",
"value": "0x0",
"v": "0x8a4",
"r": "0x2557141d923d2fee007301422af8e6a6618c098780b4112379c0095dbc231e1e",
"s": "0x7be16da1cca19413c99cb7609043bb7e759f1476560e392044c62bfa3b2cf75a",
"queueOrigin": "sequencer",
"l1TxOrigin": "0x0000000000000000000000000000000000000000",
"l1BlockNumber": "0x11f5814",
"l1Timestamp": "0x6583a882",
"index": "0x9582c4",
"queueIndex": "0x0",
"rawTransaction": "0xf8ab148503d77a050082c82794967b7b265da1506645ea464980a86fea309454b480b844095ea7b30000000000000000000000001e876cce41b7b844fde09e38fa1cf00f213bff56ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8208a4a02557141d923d2fee007301422af8e6a6618c098780b4112379c0095dbc231e1ea07be16da1cca19413c99cb7609043bb7e759f1476560e392044c62bfa3b2cf75a"
}
}
Last updated