Skip to content

@lelantos-org/sdk / index / FmdMatchesNoteSource

Class: FmdMatchesNoteSource โ€‹

Defined in: @lelantos-org/sdk/dist/wallet/note-source.d.ts:54

NoteSource backed by /v1/matches: server-side FMD-filtered subset. Trades anonymity (server learns the FP set bound by gamma) for bandwidth.

token is the capability the caller registered with FmdClient.createSubscription. It is the only handle to the subscription. deriveSubscriptionToken regenerates it, so at the default epoch there is nothing to store โ€” but regeneration needs ivk and the epoch, and the epoch cannot be recovered from the server. A caller that has rotated must persist it alongside its own config.

Implements โ€‹

Constructors โ€‹

Constructor โ€‹

ts
new FmdMatchesNoteSource(fmd, token): FmdMatchesNoteSource;

Defined in: @lelantos-org/sdk/dist/wallet/note-source.d.ts:57

Parameters โ€‹

ParameterType
fmdFmdClient
tokenstring

Returns โ€‹

FmdMatchesNoteSource

Methods โ€‹

listNotes() โ€‹

ts
listNotes(opts?): Promise<NotePage>;

Defined in: @lelantos-org/sdk/dist/wallet/note-source.d.ts:58

Parameters โ€‹

ParameterType
opts?ListNotesOpts

Returns โ€‹

Promise<NotePage>

Implementation of โ€‹

NoteSource.listNotes

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub