[#ToKeyID-00]
= ToKeyID
:mrdocs:

Convert a witness key&hyphen;hash destination back to a key identifier&period;

== Synopsis

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

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

== Return Value

The corresponding key identifier&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key&lowbar;hash*
| The witness key hash to convert&period;
|===


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