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

Return the cached balance from the avoid&hyphen;reuse or all slot&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CAmount.adoc[CAmount]
Get(bool avoid&lowbar;reuse);
----

== Return Value

The cached balance from the requested slot&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *avoid&lowbar;reuse*
| Whether to read from the avoid&hyphen;reuse slot rather than the all slot&period;
|===


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