Skip to main content

eth_getUncleCountByBlockHash RPC Method

Loading...

Updated on
Feb 17, 2026

eth_getUncleCountByBlockHash RPC Method

Please note that for this RPC method the response will always be zero.

Parameters

hash
string
REQUIRED
Loading...

Returns

uncles
Loading...
Request
1
curl -X POST "https://docs-demo.zksync-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "eth_getUncleCountByBlockHash",
6
"params": [
7
"0x2b64fbd89591504539f013f3a00fbeb01d6927fc72e08e9ef0bc0d0c041492fa"
8
],
9
"id": 1
10
}'
1
curl -X POST "https://docs-demo.zksync-mainnet.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "eth_getUncleCountByBlockHash",
6
"params": [
7
"0x2b64fbd89591504539f013f3a00fbeb01d6927fc72e08e9ef0bc0d0c041492fa"
8
],
9
"id": 1
10
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0x0"
5
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0x0"
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free