Skip to content

WalletStealthAuthorizerOptions

Defined in: ootle/src/stealth/authorizer.ts:65

Options for WalletStealthAuthorizer.fromSpec.

optional crypto?: StealthCryptoProvider

Defined in: ootle/src/stealth/authorizer.ts:82

Injectable crypto seam; defaults to WasmStealthCrypto. Tests pass a FakeStealthCrypto.


optional mustSignWithAccountKey?: boolean

Defined in: ootle/src/stealth/authorizer.ts:77

Whether to append the account-key Schnorr signature when sealing. Defaults to true. Set false to omit it (e.g. the account already authorized out-of-band).


optional viewSecret?: Uint8Array<ArrayBufferLike>

Defined in: ootle/src/stealth/authorizer.ts:72

The owner/recipient 32-byte view secret, needed to unblind stealth inputs. Optional: the revealed-only path never uses it; for stealth-input transfers it is taken here first, else falls back to the wallet’s default signer getViewSecret?.() (only SecretKeyWallet supplies one). If neither is available and there are stealth inputs, prepare throws.