Skip to content

schnorrVerify()

SIP Protocol API Reference v0.7.0


SIP Protocol API Reference / schnorrVerify

schnorrVerify(signature, message, publicKey): boolean

Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:5942

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