Skip to content

encodeDelivery

encodeDelivery(chain, grant): Uint8Array

Defined in: claims.ts:786

A delivery: sent once to a new bearer, never to a provider. Carries the v2 grant that wraps the key. The grant must name the chain’s final node, owner and group key; that the wrapped key matches the link’s commitment is checked by openDelivery, which holds the private key to unwrap it.

Parameter Type
chain ClaimChain
grant Grant

Uint8Array