Skip to content

@armada/sdk / index / OwnedNote

Interface: OwnedNote

Defined in: src/sync/scan-engine.ts:23

The wallet-relevant fields a decryptor recovers from a commitment it owns.

Properties

tokenHash

readonly tokenHash: string

Defined in: src/sync/scan-engine.ts:24


value

readonly value: bigint

Defined in: src/sync/scan-engine.ts:25


random

readonly random: string

Defined in: src/sync/scan-engine.ts:27

16-byte note random (hex, no 0x) — carried into the TXO so the spend witness can be rebuilt.


notePublicKey

readonly notePublicKey: bigint

Defined in: src/sync/scan-engine.ts:29

Note public key poseidon(masterPublicKey, random).


memo?

readonly optional memo?: string

Defined in: src/sync/scan-engine.ts:31

Memo the sender attached, if any (transfer receives).


senderShieldedAddress?

readonly optional senderShieldedAddress?: string

Defined in: src/sync/scan-engine.ts:33

Sender's 0zk, present only if they disclosed it (showSenderAddressToRecipient).