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

Return the sum of the effective value of all available coins, if known&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;CAmount&gt;
GetEffectiveTotalAmount() const;
----

== Return Value

The total effective value, or nullopt if not all effective values are known&period;


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