Skip to content

StealthInput

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

A stealth input being spent, identified by its 32-byte Pedersen commitment.

  • Bytes32

new StealthInput(commitment): StealthInput

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

Uint8Array

StealthInput

Bytes32.constructor

get commitment(): Uint8Array

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

32-byte commitment (defensive copy).

Uint8Array

toBytes(): Uint8Array

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

Uint8Array

Bytes32.toBytes


toHex(): string

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

string

Bytes32.toHex


toJSON(): StealthInputJson

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

StealthInputJson


static fromJSON(json): StealthInput

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

StealthInputJson

StealthInput