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