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
| Parameter | Type |
|---|---|
observation | EffectReceiptObservation |
Returns
"verified" | "unverified"