[#XOnlyPubKey-VerifySchnorr] = xref:XOnlyPubKey.adoc[XOnlyPubKey]::VerifySchnorr :relfileprefix: ../ :mrdocs: Verify a Schnorr signature against this public key. == Synopsis Declared in `<pubkey.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool VerifySchnorr( xref:uint256.adoc[uint256] const& msg, std::span<unsigned char const> sigbytes) const; ---- == Description sigbytes must be exactly 64 bytes. == Return Value true if the signature is valid for this public key. == Parameters [cols="1,4"] |=== | Name| Description | *msg* | The 32‐byte message hash that was signed. | *sigbytes* | The 64‐byte Schnorr signature to verify. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#