> For the complete documentation index, see [llms.txt](https://docs.omniatech.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.omniatech.io/rpc-api-docs/chains/harmony/ethereum-standard-json-rpc-api/eth_getunclecountbyblockhash.md).

# eth\_getUncleCountByBlockHash

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

[**Ethereum.org API Reference**](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getunclecountbyblockhash)

**Parameters**

`DATA`, 32 Bytes - hash of a block <mark style="color:red;">REQUIRED</mark>

**Returns**

`QUANTITY` - integer of the number of uncles in this block.

## Example

#### Request

```
curl --request POST \
     --url https://endpoints.omniatech.io/v1/RPC_ENDPOINT \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_getUncleCountByBlockHash",
  "params": ["0x14834c13eec4b47be4fb4c8a4190f966af5eb9735b446b7ccd8120b5f5763a59"]
}
'
```

#### Response

```
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x0"
}
```
