Skip to content

assessFlowPrivacy()

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / assessFlowPrivacy

assessFlowPrivacy(flow, candidates, opts?): FlowPrivacyAssessment

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:25251

Score a single vault flow’s privacy honestly, over caller-supplied data.

FlowInput

the flow being scored

WindowWithdrawal[]

withdrawals the caller observed near the flow (no RPC)

AssessFlowOptions

window/tolerance + the settlement tier (default CURRENT_PRIVACY_TIER)

FlowPrivacyAssessment