[#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(0x7fb955bd08f8), requires_capability(0x7fb94db85218), requires_capability(0x7fb95ab15098), requires_capability(0x7fb959fb1c78), requires_capability(0x7fb956cbbf08)]] unsigned int GetKeyPoolSize() const; ---- == Return Value The keypool size. [.small]#Created with https://www.mrdocs.com[MrDocs]#