> 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/polygon/polygon-standard-json-rpc-api/eth_getroothash.md).

# eth\_getRootHash

**Returns the root hash for a specified block range.**

**Parameters**

1. `QUANTITY, Integer` - fromBlock. The block number from which the range starts <mark style="color:red;">REQUIRED</mark>
2. `QUANTITY, Integer` - toBlock. The block number where the range ends <mark style="color:red;">REQUIRED</mark>

**Returns**

1. `DATA`, 32 Bytes - The root hash of the specified block range

## Example

#### Request

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

#### Response

```
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "67518d9fc6bf9ff886ba1a4e932a0d0a8a1318b3f300518773aaf2210410cf73"
}
```
