Output
Defined in: ootle/src/stealth/primitives.ts:128
A stealth output to create.
Use createOutput to construct one with the conventional defaults
(payTo = { StealthPublicKey: {} }, minimumValuePromise = 0n) and
validation (see assertValidOutput: rejects amount <= 0n, a
minimumValuePromise outside [0n, amount], and a resourceViewKey that is
not 32 bytes).
Properties
Section titled “Properties”amount
Section titled “amount”amount:
bigint
Defined in: ootle/src/stealth/primitives.ts:132
µTari amount to send (must be > 0n).
destination
Section titled “destination”destination:
string
Defined in: ootle/src/stealth/primitives.ts:130
Destination account address (a string component/account address).
optionalmemo?:object
Defined in: ootle/src/stealth/primitives.ts:138
Optional structured memo attached to the output.
minimumValuePromise
Section titled “minimumValuePromise”minimumValuePromise:
bigint
Defined in: ootle/src/stealth/primitives.ts:142
Minimum value promise (range-proof lower bound, in [0n, amount]); defaults to 0n.
payTo:
object
Defined in: ootle/src/stealth/primitives.ts:140
Spend condition for the output; defaults to { StealthPublicKey: {} }.
resourceAddress
Section titled “resourceAddress”resourceAddress:
string
Defined in: ootle/src/stealth/primitives.ts:134
Resource being transferred.
resourceViewKey?
Section titled “resourceViewKey?”
optionalresourceViewKey?:Uint8Array<ArrayBufferLike>
Defined in: ootle/src/stealth/primitives.ts:136
Resource view key (32 bytes) — set only for resources with a viewable balance.