curl --request POST \ --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=1 \ --header 'content-type: application/json' \ --data '{ "id": 1, "jsonrpc": "2.0", "method": "eth_getUncleCountByBlockHash", "params": [ "0xbfb3bb785c60ee4f93aa6e506f6f5d5fc5173301f537d856cac59d91e7a0ce09" ] }'
{ "jsonrpc": "2.0", "id": 1, "result": "0x1b" }
Returns the number of uncles in a block from a block matching the given block hash.
eth_getUncleCountByBlockHash
params[0]
“0x1b”