@lelantos-org/sdk / sync / scanNotes
Function: scanNotes() โ
ts
function scanNotes(
J,
P,
ivk,
inputs,
stats?
): ScanHit[];Defined in: @lelantos-org/sdk/dist/sync/scan.d.ts:47
Trial-decrypt with ivk; return notes whose ChaCha tag verifies and whose plaintext decodes.
Pass stats to collect tallies; it is mutated in place so the hot loop allocates nothing.
Parameters โ
| Parameter | Type |
|---|---|
J | WasmJubjub |
P | Poseidon |
ivk | bigint |
inputs | ScanInput[] |
stats? | ScanStats |
Returns โ
ScanHit[]