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": [
"0xb10e9452c227d222e17a317b434ca1bcedfa3c9127e476a2030eb10e724e988b"
]
}'
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0x23fbdbeb6ca3c68694134c43a84deffcc4b00a46a5e4ca78ef3a7cc0885b663b",
"blockNumber": "0x6b3559",
"from": "0x7916d0ef256edcfd04134b26cede4d4651f97d48",
"gas": "0xd5b2c",
"gasPrice": "0x42c4ed24",
"hash": "0xb10e9452c227d222e17a317b434ca1bcedfa3c9127e476a2030eb10e724e988b",
"input": "0x0fe6b274000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000003e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000071d982000000000000000000000000000000000000000000000000000000000000186a000000000000000000000000000000000000000000000000000000000000186a0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000002000000000000000000000000b829b68f57cc546da7e5806a929e53be32a4625d000000000000000000000000919c1c267bc06a7039e03fcc2ef738525769109c0000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000001d000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001d0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000919c1c267bc06a7039e03fcc2ef738525769109c000000000000000000000000b829b68f57cc546da7e5806a929e53be32a4625d00000000000000000000000000000000000000000000000000000000000001f40000000000000000000000007916d0ef256edcfd04134b26cede4d4651f97d48000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x6b6",
"to": "0x36d164d09008f50ae9bcc70c6fa0a0efe7f4d8db",
"transactionIndex": "0x1",
"value": "0x0",
"type": "0x0",
"chainId": "0x8ae",
"v": "0x117f",
"r": "0xbdc782c4097df6152058faba78b9ce05889631b0b721b5c0b3c0fe47e3dc75a7",
"s": "0x7216ede4763bba80949f218d08cea8b8830586f69112bfbdb5add757ec824616"
}
}
Last updated