eth_getUncleCountByBlockHashHTTP

Returns the uncle count for a block selected by hash. On post-merge Ethereum and most non-PoW chains this is typically 0x0.

Chain EthereumTransport HTTPTry-it live

How to use

  1. Pick an API key (or paste one) in the Try it panel.
  2. Fill each parameter (order = params array index).
  3. Send request — live against the gateway; counts toward daily quota.

Parameters

JSON-RPC positional arguments — order matches the array sent in params. Index badges below match array positions.

hashDATA(32B)required

Block hash.

params array (shape)

eth_getUncleCountByBlockHash · paramsjson
1[
2 "$LATEST_BLOCK_HASH"
3]

Response fields

The result row describes the complete result; other rows describe its object fields or array elements. Indented rows describe nested members. For subscriptions,params.* rows describe later notifications rather than the initial reply.

FieldTypeDescription
resultQUANTITY|nullOmmer count, zero for Ethereum blocks after the Merge. Historical PoW blocks may have ommers. Null when the block is unavailable; zero and null are distinct.