[#wallet-CWallet-GetKeyPoolSize] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::GetKeyPoolSize :relfileprefix: ../../ :mrdocs: Count the keys currently available in the keypool. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f94fde064d8), requires_capability(0x7f95061a9218), requires_capability(0x7f94f2b79d28), requires_capability(0x7f94f0cf89b8), requires_capability(0x7f94fee3b3a8)]] unsigned int GetKeyPoolSize() const; ---- == Return Value The keypool size. [.small]#Created with https://www.mrdocs.com[MrDocs]#