[#CPubKey-GetID]
= xref:CPubKey.adoc[CPubKey]::GetID
:relfileprefix: ../
:mrdocs:

Get the KeyID of this public key (hash of its serialization)

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CKeyID.adoc[CKeyID]
GetID() const;
----

== Return Value

The Hash160&hyphen;based key identifier of this public key&period;


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