Skip to main content

eth_getUncleCountByBlockHash RPC Method

Returns the number of uncles for the block matching the given block hash.

Updated on
Apr 16, 2026
Please note that for this RPC method the response will always be zero.

Parameters

hash
string
REQUIRED

The hash of the block to get uncles for

Returns

uncles
string | null

The integer value of the number of uncles in the block encoded as hexadecimal, or null when the block is not found

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": null
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": null
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free