[#wallet-CWallet-KeypoolCountExternalKeys] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::KeypoolCountExternalKeys :relfileprefix: ../../ :mrdocs: Count the external (receiving) keys available in the keypool. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f94fde05818), requires_capability(0x7f95061a8558), requires_capability(0x7f94f2b79068), requires_capability(0x7f94f0cf7cf8), requires_capability(0x7f94fee3a6e8)]] size_t KeypoolCountExternalKeys() const; ---- == Return Value The number of external keys in the keypool. [.small]#Created with https://www.mrdocs.com[MrDocs]#