cURL
curl --request POST \ --url https://{network}.s.chainbase.online/v1/{api-key} \ --header 'Content-Type: application/json' \ --data ' { "id": 1, "jsonrpc": "2.0", "method": "eth_getUncleCountByBlockNumber", "params": [ "0xed14e5" ] } '
{ "id": 1, "jsonrpc": "2.0", "result": "<string>" }
Returns the number of uncles in the block, if any.
Parameters
TAG
Returns
QUANTITY
"demo"
1
"2.0"
Successful Response