@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 โ
new FmdMatchesNoteSource(fmd, token): FmdMatchesNoteSource;Defined in: @lelantos-org/sdk/dist/wallet/note-source.d.ts:57
Parameters โ
| Parameter | Type |
|---|---|
fmd | FmdClient |
token | string |
Returns โ
FmdMatchesNoteSource
Methods โ
listNotes() โ
listNotes(opts?): Promise<NotePage>;Defined in: @lelantos-org/sdk/dist/wallet/note-source.d.ts:58
Parameters โ
| Parameter | Type |
|---|---|
opts? | ListNotesOpts |
Returns โ
Promise<NotePage>