Skip to content

schnorrVerify()

SIP Protocol API Reference v0.7.2


SIP Protocol API Reference / schnorrVerify

schnorrVerify(signature, message, publicKey): boolean

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:6005

Verify a BIP-340 Schnorr signature

Uint8Array

64-byte Schnorr signature

Uint8Array

32-byte message that was signed

Uint8Array

32-byte x-only public key

boolean

true if signature is valid

If inputs are invalid