[#GenericTransactionSignatureChecker-03-VerifySchnorrSignature] = xref:GenericTransactionSignatureChecker-03.adoc[GenericTransactionSignatureChecker]::VerifySchnorrSignature :relfileprefix: ../ :mrdocs: Verify a raw Schnorr signature against an x‐only public key and precomputed sighash. == Synopsis Declared in `<script/interpreter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool VerifySchnorrSignature( std::span<unsigned char const> sig, xref:XOnlyPubKey.adoc[XOnlyPubKey] const& pubkey, xref:uint256.adoc[uint256] const& sighash) const; ---- == Return Value `true` if the signature is valid. == Parameters [cols="1,4"] |=== | Name| Description | *sig* | The 64‐byte Schnorr signature. | *pubkey* | The x‐only public key to verify against. | *sighash* | The precomputed signature hash. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#