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

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

== Synopsis

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

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

== Parameters

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


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