[#CTxMemPool-GetTotalFee]
= xref:CTxMemPool.adoc[CTxMemPool]::GetTotalFee
:relfileprefix: ../
:mrdocs:

Returns the sum of base fees of all mempool transactions&period;

== Synopsis

Declared in `&lt;txmempool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f95135d3368), requires&lowbar;capability(0x7f9501b12748), requires&lowbar;capability(0x7f950ec78938), requires&lowbar;capability(0x7f9525ea8688), requires&lowbar;capability(0x7f9515097dc8), requires&lowbar;capability(0x7f950826c068), requires&lowbar;capability(0x7f94f856f778), requires&lowbar;capability(0x7f9513c59968)&rsqb;&rsqb;
xref:CAmount.adoc[CAmount]
GetTotalFee() const;
----

== Return Value

The total fee&period;


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