Skip to content

Output

Defined in: ootle/src/stealth/primitives.ts:126

A stealth output to create.

Use createOutput to construct one with the conventional defaults (payTo = { StealthPublicKey: {} }, minimumValuePromise = 0n) and validation (rejects amount <= 0n).

amount: bigint

Defined in: ootle/src/stealth/primitives.ts:130

µTari amount to send (must be > 0n).


destination: string

Defined in: ootle/src/stealth/primitives.ts:128

Destination account address (a string component/account address).


optional memo?: object

Defined in: ootle/src/stealth/primitives.ts:136

Optional structured memo attached to the output.


minimumValuePromise: bigint

Defined in: ootle/src/stealth/primitives.ts:140

Minimum value promise (range-proof lower bound); defaults to 0n.


payTo: object

Defined in: ootle/src/stealth/primitives.ts:138

Spend condition for the output; defaults to { StealthPublicKey: {} }.


resourceAddress: string

Defined in: ootle/src/stealth/primitives.ts:132

Resource being transferred.


optional resourceViewKey?: Uint8Array<ArrayBufferLike>

Defined in: ootle/src/stealth/primitives.ts:134

Resource view key — set only for resources with a viewable balance.