> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_getUncleCountByBlockHash

> Returns the number of uncles in a block from a block matching the given block hash.

### Parameters

**chainId** `string` *required* (default: 10200)

Unique identifier for a blockchain network.

**id** `number` *required* (default: 1)

Request identifier used to match responses.

**jsonrpc** `string` *required* (default: 2.0)

JSON-RPC version.

**method** `string` *required* (default: eth\_getUncleCountByBlockHash)

JSON-RPC method name.

**params** `object` *required*

Parameters for eth\_getUncleCountByBlockHash: \[blockHash].

Positional parameters for `eth_getUncleCountByBlockHash`:

<ul>
  <li>`params[0]`: 32 Bytes - hash of the block where this transaction was included. Null when pending.</li>
</ul>

### Returns

**result** `string`

The number of uncles in the block. Example: `"0x1b"`.

```bash Curl theme={null}
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=10200 \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "eth_getUncleCountByBlockHash",
    "params": [
      "0xbfb3bb785c60ee4f93aa6e506f6f5d5fc5173301f537d856cac59d91e7a0ce09"
    ]
  }'
```

```json Success theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x1b"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.