[#CScript-IsPayToWitnessScriptHash] = xref:CScript.adoc[CScript]::IsPayToWitnessScriptHash :relfileprefix: ../ :mrdocs: Returns whether this script is a pay‐to‐witness‐script‐hash (P2WSH) output. == Synopsis Declared in `<script/script.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool IsPayToWitnessScriptHash() const; ---- == Return Value true if the script matches the P2WSH pattern. [.small]#Created with https://www.mrdocs.com[MrDocs]#