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).
Parameters
Section titled “Parameters”crypto
Section titled “crypto”inputMask
Section titled “inputMask”outputMask
Section titled “outputMask”inputsStatement
Section titled “inputsStatement”outputsStatement
Section titled “outputsStatement”Returns
Section titled “Returns”Promise<BalanceProofSignature>
The (public_nonce, signature) balance-proof signature.