eth_getUncleByBlockHashAndIndex

Returns information about a uncle of a given block by hash and uncle index position.

Parameters

  1. Blockhash - hash of the requested block.

  2. Index position of the uncle in hex code.

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_getUncleByBlockHashAndIndex",
  "params": [
    "0xfe11a0c9ec4ac0dcbac3dc41fdea5f3f1fa7224a5c3cb19ea8cbee3da00e7d5b",
    "0x0"
  ]
}'

Sample Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "difficulty": "0x88df8e8cb2fa2",
    "extraData": "0x505059452d65746865726d696e652d6575312d36",
    "gasLimit": "0xb45dca",
    "gasUsed": "0xb25c6d",
    "hash": "0x0123dd260413b91942d9433d4d1c9fb0ce6b0f55195c42118595670e281bd943",
    "logsBloom": "0x0af280202080400c03862808f48c12ad8e020c2e4dcc5c3c4c2b031840a5139912044090598229000b282710404dcf480220c8840e0e2a050300c0a05261101a328f121084c94517c810292a008c0134d02040404046cf019202902992000720500ec8080a0028128211ccea474698145c82f043060d86702a1012b0b06f600344a021c8a208161500c8c79a1026900a10649481b930d42e0240424cab3019140257802c00206c085965a1825a4004008a4c001ce2c6202440c563243806532e608cec6a50b08080a806f0b01702308e44a00d8842c7a0b1cc62128226243b8a90b639800922301400285010c0a00845658c9252809007d3408015810494a42e",
    "miner": "0xea674fdde714fd979de3edf0f56aa9716b898ec8",
    "mixHash": "0x91fbd0b042b88080403dc0e6de6dbfaa1db00496af141f6909e6fdb6ed378f85",
    "nonce": "0x52bc8c4da04b330f",
    "number": "0x9e15af",
    "parentHash": "0x0e27808801b9b0331d94f09a765d2511804a7be51d0fea61f254b1aa66ef405d",
    "receiptsRoot": "0x1068c5d60bb8cca13821166126141982a72c579bd4d2dc0a93778b242132e3c0",
    "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
    "size": "0x21d",
    "stateRoot": "0x5cdb9e99148ade16336cb503e1e3d95e91007aceaf1de07af8bef0069524552a",
    "timestamp": "0x5ef9c3f9",
    "totalDifficulty": "0x369067dddc77585f24a",
    "transactions": [],
    "transactionsRoot": "0x54052d0571bbefba44a4c346ff9f42686cd7afbfc589e2ba5f66a1f4c1c95829",
    "uncles": []
  }
}

Last updated