[#XOnlyPubKey-CheckTapTweak] = xref:XOnlyPubKey.adoc[XOnlyPubKey]::CheckTapTweak :relfileprefix: ../ :mrdocs: Verify that this is a Taproot tweaked output point, against a specified internal key, Merkle root, and parity. == Synopsis Declared in `<pubkey.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool CheckTapTweak( xref:XOnlyPubKey.adoc[XOnlyPubKey] const& internal, xref:uint256.adoc[uint256] const& merkle_root, bool parity) const; ---- == Return Value true if this point is the expected tweaked output point. == Parameters [cols="1,4"] |=== | Name| Description | *internal* | The internal x‐only public key. | *merkle_root* | The Merkle root of the script tree. | *parity* | The expected parity of the tweaked output point. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#