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": [
    "0xb850ad929465ecf3d8a669aff6340101b6fd8c7901505cf696739ab45e05b6de"
  ]
}'

Sample Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "blockHash": "0x608c43455eaed1452685b73576b7571cad171804f037b18773a7b36a5972d327",
    "blockNumber": "0x1180caf",
    "from": "0x5124fcc2b3f99f571ad67d075643c743f38f1c34",
    "gas": "0x5208",
    "gasPrice": "0x11d1b74a2",
    "maxPriorityFeePerGas": "0x0",
    "maxFeePerGas": "0x11d1b74a2",
    "hash": "0xb850ad929465ecf3d8a669aff6340101b6fd8c7901505cf696739ab45e05b6de",
    "input": "0x",
    "nonce": "0x7d08",
    "to": "0xba401cdac1a3b6aeede21c9c4a483be6c29f88c5",
    "transactionIndex": "0x89",
    "value": "0x479ba52bcd1a9d",
    "type": "0x2",
    "accessList": [],
    "chainId": "0x1",
    "v": "0x0",
    "r": "0x5ba4d400576367314cabe69d4682f4d61a94f43614a8ef5b8057879051306d61",
    "s": "0x26e612f4e403e1c8fb917c3316b11f56682154abe3a9c21e3401038ba7d0ba0a"
  }
}

Last updated