eth_getUncleCountByBlockHash

Returns the number of uncles in a given block hash.

Parameters

Blockhash.

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

Sample Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x1"
}

Last updated