> ## 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

<ParamField query="chainId" type="string" default="1001" required>
  Unique identifier for a blockchain network.
</ParamField>

<ParamField body="id" type="number" default={1} required>
  Request identifier used to match responses.
</ParamField>

<ParamField body="jsonrpc" type="string" default="2.0" required>
  JSON-RPC version.
</ParamField>

<ParamField body="method" type="string" default="eth_getUncleCountByBlockHash" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={["0xbfb3bb785c60ee4f93aa6e506f6f5d5fc5173301f537d856cac59d91e7a0ce09"]} placeholder="[&#x22;0xbfb3bb785c60ee4f93aa6e506f6f5d5fc5173301f537d856cac59d91e7a0ce09&#x22;]" required>
  Parameters for eth\_getUncleCountByBlockHash: \[blockHash].

  Positional parameters for <code>eth\_getUncleCountByBlockHash</code>:

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

### Returns

<ResponseField name="result" type="string">
  The number of uncles in the block. Example: <code>"0x1b"</code>.
</ResponseField>

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

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