[#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(0x7f2e1b5a3298), requires&lowbar;capability(0x7f2e2721c2a8), requires&lowbar;capability(0x7f2e421cd9b8), requires&lowbar;capability(0x7f2e2880c978), requires&lowbar;capability(0x7f2e3212fd08), requires&lowbar;capability(0x7f2e347f8398), requires&lowbar;capability(0x7f2e2b05c808), requires&lowbar;capability(0x7f2e2bee3ea8)&rsqb;&rsqb;
xref:CAmount.adoc[CAmount]
GetTotalFee() const;
----

== Return Value

The total fee&period;


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