[#WitnessV0ScriptHash-2constructor-02]
= xref:WitnessV0ScriptHash.adoc[WitnessV0ScriptHash]::WitnessV0ScriptHash
:relfileprefix: ../
:mrdocs:

Construct a witness script hash from a script&period;

== Synopsis

Declared in `&lt;addresstype&period;h&gt;`

[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&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
