Skip to content

schnorrVerify()

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / schnorrVerify

schnorrVerify(signature, message, publicKey): boolean

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:9154

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