Skip to main content

eth_getUncleCountByBlockNumber RPC Method

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

Updated on
Apr 01, 2026

Parameters

blockNumber
string
REQUIRED

The integer of a block number encoded in hexadecimal format starting with 0x

Returns

uncles
string

The integer value of the number of uncles in the block encoded as hexadecimal

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