# verifyChain

> **verifyChain**(`chain`, `options?`): [`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`VerifiedClaim`](/reference/filoz/keysmith/interfaces/verifiedclaim/)\>

Defined in: [claims.ts:547](https://github.com/FilOzone/synapse-sdk/blob/840d7b2c6263846ac51b7558000e62dd68d33a44/packages/keysmith/src/claims.ts#L547)

Check a chain with nothing but the chain: the root signed by the owner and
unexpired, every later link signed by the previous bearer and no wider than
it. Pass `piece` when a link names a piece.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `chain` | [`ClaimChain`](/reference/filoz/keysmith/interfaces/claimchain/) |
| `options?` | \{ `now?`: `number`; `piece?`: [`PieceLabels`](/reference/filoz/keysmith/type-aliases/piecelabels/); \} |
| `options.now?` | `number` |
| `options.piece?` | [`PieceLabels`](/reference/filoz/keysmith/type-aliases/piecelabels/) |

## Returns

[`Promise`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)\<[`VerifiedClaim`](/reference/filoz/keysmith/interfaces/verifiedclaim/)\>

## Throws

With the reason the chain is refused.