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

Return the total ancestor bump fees of the selected inputs&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
xref:CAmount.adoc[CAmount]
GetTotalBumpFees() const;
----

== Return Value

The summed bump fees&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====

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