[#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(0x7ff3720f0e88), requires_capability(0x7ff365f20e88), requires_capability(0x7ff35de5f838), requires_capability(0x7ff35efe4318), requires_capability(0x7ff366fd08f8)]] unsigned int GetKeyPoolSize() const; ---- == Return Value The keypool size. [.small]#Created with https://www.mrdocs.com[MrDocs]#