Skip to content

anonSetInWindow()

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / anonSetInWindow

anonSetInWindow(flow, candidates, opts?): AnonymitySet

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

Compute the anonymity set a flow blends into: same-mint, similar-amount withdrawals within a time window, excluding the flow itself.

FlowInput

the flow being scored

WindowWithdrawal[]

withdrawals the caller observed near the flow (caller-supplied; no RPC)

AnonSetOptions

window + amount-tolerance overrides

AnonymitySet