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.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new StealthOutputsStatement(
statementJson,resourceViewKey?):StealthOutputsStatement
Defined in: ootle/src/stealth/statements.ts:173
Parameters
Section titled “Parameters”statementJson
Section titled “statementJson”string
resourceViewKey?
Section titled “resourceViewKey?”Uint8Array<ArrayBufferLike>
Returns
Section titled “Returns”StealthOutputsStatement
Properties
Section titled “Properties”statementJson
Section titled “statementJson”
readonlystatementJson:string
Defined in: ootle/src/stealth/statements.ts:170
The canonical, WASM-produced outputs-statement wire JSON.
Accessors
Section titled “Accessors”resourceViewKey
Section titled “resourceViewKey”Get Signature
Section titled “Get Signature”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.
Returns
Section titled “Returns”Uint8Array<ArrayBufferLike> | undefined
Methods
Section titled “Methods”parsed()
Section titled “parsed()”parsed():
unknown
Defined in: ootle/src/stealth/statements.ts:191
Parse the carried JSON into a plain object view (the engine owns the shape).
Returns
Section titled “Returns”unknown
toJSON()
Section titled “toJSON()”toJSON():
string
Defined in: ootle/src/stealth/statements.ts:196
The carried wire JSON string is already canonical.
Returns
Section titled “Returns”string
fromJSON()
Section titled “fromJSON()”
staticfromJSON(statementJson,resourceViewKey?):StealthOutputsStatement
Defined in: ootle/src/stealth/statements.ts:201
Reconstruct from a wire JSON string (and optional 32-byte resource view key).
Parameters
Section titled “Parameters”statementJson
Section titled “statementJson”string
resourceViewKey?
Section titled “resourceViewKey?”Uint8Array<ArrayBufferLike>
Returns
Section titled “Returns”StealthOutputsStatement