[#WitnessV0ScriptHash-2constructor-02] = xref:WitnessV0ScriptHash.adoc[WitnessV0ScriptHash]::WitnessV0ScriptHash :relfileprefix: ../ :mrdocs: Construct a witness script hash from a script. == Synopsis Declared in `<addresstype.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit WitnessV0ScriptHash(xref:CScript.adoc[CScript] const& script); ---- == Parameters [cols="1,4"] |=== | Name| Description | *script* | The script to hash. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#