# 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:334](https://github.com/FilOzone/synapse-sdk/blob/68e30a2a5457180e60a5579eb5ecff90b65894b3/packages/keysmith/src/claims.ts#L334)

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/interfaces/piecelabels/); \} |
| `options.now?` | `number` |
| `options.piece?` | [`PieceLabels`](/reference/filoz/keysmith/interfaces/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.