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

Return the sum of the raw value of all available coins&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CAmount.adoc[CAmount]
GetTotalAmount() const;
----

== Return Value

The total raw value of every available coin&period;


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