[#wallet-ScriptPubKeyMan-GetKeyPoolSize] = xref:wallet.adoc[wallet]::xref:wallet/ScriptPubKeyMan.adoc[ScriptPubKeyMan]::GetKeyPoolSize :relfileprefix: ../../ :mrdocs: Returns the number of keys currently available in the keypool. == Synopsis Declared in `<wallet/scriptpubkeyman.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual unsigned int GetKeyPoolSize() const; ---- == Return Value The keypool size. [.small]#Created with https://www.mrdocs.com[MrDocs]#