# clusterConfigOrDefinitionHash()

> **clusterConfigOrDefinitionHash**(`cluster`, `configOnly`): `string`

Defined in: [verification/common.ts:64](https://github.com/ObolNetwork/obol-sdk/blob/5137bd5c4ded55a50234f19135ea3a5bfeab4d47/src/verification/common.ts#L64)

## Parameters

| Parameter | Type | Description |
| ------ | ------ | ------ |
| `cluster` | [`ClusterDefinition`](../interfaces/ClusterDefinition.md) | The cluster configuration or the cluster definition |
| `configOnly` | `boolean` | a boolean to indicate config hash or definition hash |

## Returns

`string`

The config hash or the definition hash in of the corresponding cluster
