Skip to content

@armada/sdk / index / SpentNullifier

Interface: SpentNullifier

Defined in: src/sync/balances.ts:42

A spent-note marker from a Nullify event, scoped to its owning UTXO tree. The tree scope is load-bearing: getNullifier(nullifyingKey, position) does NOT include the tree, so the same position in two different trees yields the SAME nullifier. Spentness must therefore be matched per (tree, nullifier) to avoid cross-tree collisions (Railgun 9.5.4 fix).

Extended by

Properties

tree

readonly tree: number

Defined in: src/sync/balances.ts:43


nullifier

readonly nullifier: bigint

Defined in: src/sync/balances.ts:44


txid

readonly txid: string

Defined in: src/sync/balances.ts:46

Transaction + block that spent the note — locates/dates the spend for send/unshield history.


blockNumber

readonly blockNumber: number

Defined in: src/sync/balances.ts:47