Skip to content

@lelantos-org/sdk / primitives / noteId

Function: noteId() ​

ts
function noteId(): string;

Defined in: @lelantos-org/sdk/dist/core/random.d.ts:55

A local note id: 32 hex chars, 128 bits of randomness. Never leaves the wallet.

The id keys the nullifier memo, the spent-set passed to markSpent, and the only filter in selection, so a collision would retire an unrelated note as spent until the next rescan.

Returns ​

string