[#wallet-CWallet-CanGetAddresses] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::CanGetAddresses :relfileprefix: ../../ :mrdocs: Returns true if the wallet can give out new addresses. This means it has keys in the keypool or can generate new keys == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool CanGetAddresses(bool internal = false) const; ---- == Return Value true if the wallet can hand out new addresses. == Parameters [cols="1,4"] |=== | Name| Description | *internal* | Whether to check the internal (change) keypool. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#