Skip to content

StealthOutputsStatement

Defined in: ootle/src/stealth/statements.ts:168

The outputs side of a stealth transfer.

Carries the WASM-produced wire payload verbatim. The internal field names of that JSON are owned by the engine and are not modelled here.

new StealthOutputsStatement(statementJson, resourceViewKey?): StealthOutputsStatement

Defined in: ootle/src/stealth/statements.ts:173

string

Uint8Array<ArrayBufferLike>

StealthOutputsStatement

readonly statementJson: string

Defined in: ootle/src/stealth/statements.ts:170

The canonical, WASM-produced outputs-statement wire JSON.

get resourceViewKey(): Uint8Array<ArrayBufferLike> | undefined

Defined in: ootle/src/stealth/statements.ts:186

Optional 32-byte resource view key carried from output witness generation (defensive copy), used by validateTransfer to verify ElGamal viewable-balance proofs.

Uint8Array<ArrayBufferLike> | undefined

parsed(): unknown

Defined in: ootle/src/stealth/statements.ts:191

Parse the carried JSON into a plain object view (the engine owns the shape).

unknown


toJSON(): string

Defined in: ootle/src/stealth/statements.ts:196

The carried wire JSON string is already canonical.

string


static fromJSON(statementJson, resourceViewKey?): StealthOutputsStatement

Defined in: ootle/src/stealth/statements.ts:201

Reconstruct from a wire JSON string (and optional 32-byte resource view key).

string

Uint8Array<ArrayBufferLike>

StealthOutputsStatement