[#wallet-CWallet-KeypoolCountExternalKeys]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::KeypoolCountExternalKeys
:relfileprefix: ../../
:mrdocs:

Count the external (receiving) keys available in the keypool&period;

== Synopsis

Declared in `&lt;wallet&sol;wallet&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1e598d68), requires&lowbar;capability(0x7f2e11aa9b28), requires&lowbar;capability(0x7f2e169ff918), requires&lowbar;capability(0x7f2e15f2edb8), requires&lowbar;capability(0x7f2e12c6da48)&rsqb;&rsqb;
size&lowbar;t
KeypoolCountExternalKeys() const;
----

== Return Value

The number of external keys in the keypool&period;


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