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).
Properties
Section titled “Properties”amount
Section titled “amount”amount:
bigint
Defined in: ootle/src/stealth/primitives.ts:130
µTari amount to send (must be > 0n).
destination
Section titled “destination”destination:
string
Defined in: ootle/src/stealth/primitives.ts:128
Destination account address (a string component/account address).
optionalmemo?:object
Defined in: ootle/src/stealth/primitives.ts:136
Optional structured memo attached to the output.
minimumValuePromise
Section titled “minimumValuePromise”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
Section titled “resourceAddress”resourceAddress:
string
Defined in: ootle/src/stealth/primitives.ts:132
Resource being transferred.
resourceViewKey?
Section titled “resourceViewKey?”
optionalresourceViewKey?:Uint8Array<ArrayBufferLike>
Defined in: ootle/src/stealth/primitives.ts:134
Resource view key — set only for resources with a viewable balance.