[#ToKeyID-0d]
= ToKeyID
:mrdocs:

`ToKeyID` overloads

== Synopses

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

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


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

[.small]#xref:ToKeyID-09.adoc[_» more&period;&period;&period;_]#

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


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

[.small]#xref:ToKeyID-00.adoc[_» more&period;&period;&period;_]#

== Return Value

The corresponding key identifier&period;

== Parameters

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


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