[#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"] ---- size_t KeypoolCountExternalKeys() const; ---- == Return Value The number of external keys in the keypool. [.small]#Created with https://www.mrdocs.com[MrDocs]#