verifyChain
verifyChain(
chain,options?):Promise<VerifiedClaim>
Defined in: claims.ts:334
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
Section titled “Parameters”| Parameter | Type |
|---|---|
chain | ClaimChain |
options | { now?: number; piece?: PieceLabels; } |
options.now? | number |
options.piece? | PieceLabels |
Returns
Section titled “Returns”Throws
Section titled “Throws”With the reason the chain is refused.