[#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. == Synopsis Declared in `<wallet/spend.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::optional<CAmount> GetEffectiveTotalAmount() const; ---- == Return Value The total effective value, or nullopt if not all effective values are known. [.small]#Created with https://www.mrdocs.com[MrDocs]#