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

Returns the confirmed balance held at each of the wallet&apos;s addresses&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::map&lt;CTxDestination, CAmount&gt;
GetAddressBalances(xref:wallet/CWallet.adoc[CWallet] const& wallet);
----

== Return Value

A map from address to its balance&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *wallet*
| The wallet to evaluate&period;
|===


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