Skip to content

createOutput

createOutput(init): Output

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

Construct an Output, applying the conventional defaults and validating it with assertValidOutput.

OutputInit

Output

if amount <= 0n, minimumValuePromise is outside [0n, amount], or resourceViewKey (when present) is not 32 bytes.