[#XOnlyPubKey-GetCPubKeys]
= xref:XOnlyPubKey.adoc[XOnlyPubKey]::GetCPubKeys
:relfileprefix: ../
:mrdocs:

Returns this XOnlyPubKey with 0x02 and 0x03 prefixes

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::vector&lt;CPubKey&gt;
GetCPubKeys() const;
----

== Return Value

The two full public keys with 0x02 and 0x03 prefixes&period;


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