[#WitnessV0KeyHash-2constructor-0d]
= xref:WitnessV0KeyHash.adoc[WitnessV0KeyHash]::WitnessV0KeyHash
:relfileprefix: ../
:mrdocs:

Construct a witness key hash from a public&hyphen;key hash&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
WitnessV0KeyHash(xref:PKHash.adoc[PKHash] const& pubkey&lowbar;hash);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pubkey&lowbar;hash*
| The public&hyphen;key hash&period;
|===


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