Skip to content

signBalanceProof

signBalanceProof(crypto, inputMask, outputMask, inputsStatement, outputsStatement): Promise<BalanceProofSignature>

Defined in: ootle/src/stealth/balance-proof.ts:60

Sign the balance proof over an inputs + outputs statement pair.

A transfer with no stealth inputs uses inputMask = Mask.zero(); a fully-revealed transfer omits the balance proof entirely (not called here).

StealthCryptoProvider

Mask

Mask

StealthInputsStatement

StealthOutputsStatement

Promise<BalanceProofSignature>

The (public_nonce, signature) balance-proof signature.