Skip to content

@lelantos-org/sdk / primitives / OutputSecretInputs

Interface: OutputSecretInputs ​

Defined in: @lelantos-org/sdk/dist/notes/seed.d.ts:6

What an output secret binds: the chain, every field of the note the output commits to, the recipient's full address, the nullifiers of the spend that made it, and its memo.

Properties ​

asset ​

ts
asset: bigint;

Defined in: @lelantos-org/sdk/dist/notes/seed.d.ts:10

Asset id, a uint64.


chainId ​

ts
chainId: bigint;

Defined in: @lelantos-org/sdk/dist/notes/seed.d.ts:7


ck_d ​

ts
ck_d: Uint8Array;

Defined in: @lelantos-org/sdk/dist/notes/seed.d.ts:20

The recipient's FMD clue key, packed (Jubjub.packPoint): 32 bytes.


d ​

ts
d: Uint8Array;

Defined in: @lelantos-org/sdk/dist/notes/seed.d.ts:14

The recipient's 16 diversifier bytes.


memo ​

ts
memo: Uint8Array;

Defined in: @lelantos-org/sdk/dist/notes/seed.d.ts:27

The memo field of the output's plaintext (encodeMemo): 128 bytes.


nullifiers ​

ts
nullifiers: readonly bigint[];

Defined in: @lelantos-org/sdk/dist/notes/seed.d.ts:25

The spend's public nullifiers, one per input slot in slot order, dummy slots included. Empty for a deposit, whose rho comes from a fresh nonce.


pk ​

ts
pk: bigint;

Defined in: @lelantos-org/sdk/dist/notes/seed.d.ts:18

The recipient's commitment key.


pk_d ​

ts
pk_d: Uint8Array;

Defined in: @lelantos-org/sdk/dist/notes/seed.d.ts:16

The recipient's ECDH target, packed (Jubjub.packPoint): 32 bytes.


rho ​

ts
rho: bigint;

Defined in: @lelantos-org/sdk/dist/notes/seed.d.ts:8


value ​

ts
value: bigint;

Defined in: @lelantos-org/sdk/dist/notes/seed.d.ts:12

Note value, a uint64.