[#wallet-CWallet-ListAddrBookAddresses]
= xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::ListAddrBookAddresses
:relfileprefix: ../../
:mrdocs:

Filter and retrieve destinations stored in the addressbook

== Synopsis

Declared in `&lt;wallet&sol;wallet&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1e598e28), requires&lowbar;capability(0x7f2e11aa9be8), requires&lowbar;capability(0x7f2e169ff9d8), requires&lowbar;capability(0x7f2e15f2ee78), requires&lowbar;capability(0x7f2e12c6db08)&rsqb;&rsqb;
std::vector&lt;CTxDestination&gt;
ListAddrBookAddresses(std::optional&lt;AddrBookFilter&gt; const& filter) const;
----

== Return Value

The matching destinations&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *filter*
| Optional filter restricting which entries are returned&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
