Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/effects / ReceiptVerifier

Type Alias: ReceiptVerifier

ts
type ReceiptVerifier = (observation) => "verified" | "unverified";

Defined in: packages/effects/src/dispatcher.ts:43

Trust-envelope verification of one receipt observation (the full envelope machinery is the reconciler train's; the seam is here). The default fails closed: an unverified receipt routes the machine to unknown, never to confirmed.

Parameters

ParameterType
observationEffectReceiptObservation

Returns

"verified" | "unverified"