Skip to content

@lelantos-org/sdk / sync / Scanner

Interface: Scanner โ€‹

Defined in: @lelantos-org/sdk/dist/sync/scanner.d.ts:3

Methods โ€‹

dispose()? โ€‹

ts
optional dispose(): void | Promise<void>;

Defined in: @lelantos-org/sdk/dist/sync/scanner.d.ts:16

Release held resources (workers, native handles).

Returns โ€‹

void | Promise<void>


scan() โ€‹

ts
scan(ivk, inputs): Promise<ScanHit[]>;

Defined in: @lelantos-org/sdk/dist/sync/scanner.d.ts:14

Trial-decrypt inputs with ivk. Result order MUST match input order (filtered to hits).

There is no client-side FMD pre-filter: the note feed does not carry clue.R, so one is not implementable here today. For FMD filtering use syncStrategy: { kind: "matches", token }, which does it server-side โ€” trading some anonymity for bandwidth. See ./worker/protocol.ts for the full reasoning.

Parameters โ€‹

ParameterType
ivkbigint
inputsScanInput[]

Returns โ€‹

Promise<ScanHit[]>

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