curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_getUncleCountByBlockHash",
"params": [
"0x2ce91ae0ed242b4b78b432a45b982fb81a414d6b04167762ed3c7446710a4b8e"
],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x0"
}
Returns the number of uncle blocks for a given block hash.
curl --request POST \
--url https://hyperliquid-mainnet.core.chainstack.com/4f8d8f4040bdacd1577bff8058438274/evm \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_getUncleCountByBlockHash",
"params": [
"0x2ce91ae0ed242b4b78b432a45b982fb81a414d6b04167762ed3c7446710a4b8e"
],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x0"
}
blockHash
(string, required) — The 32-byte hash of the blocknull
if the block is not found.
Successful response with uncle count
The response is of type object
.