# validateClusterLock

> **validateClusterLock**(`lock`): `Promise`<`boolean`>

Verifies Cluster Lock's validity.

### Parameters

| Parameter | Type                                            | Description  |
| --------- | ----------------------------------------------- | ------------ |
| `lock`    | [`ClusterLock`](../type-aliases/ClusterLock.md) | cluster lock |

### Returns

`Promise`<`boolean`>

boolean result to indicate if lock is valid

### Throws

on missing keys or values.

An example of how to use validateClusterLock: [validateClusterLock](https://github.com/ObolNetwork/obol-sdk-examples/blob/main/TS-Example/index.ts#L127)

### Defined in

services.ts:13
