[#CTxMemPool-GetTotalFee] = xref:CTxMemPool.adoc[CTxMemPool]::GetTotalFee :relfileprefix: ../ :mrdocs: Returns the sum of base fees of all mempool transactions. == Synopsis Declared in `<txmempool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e1b5a3298), requires_capability(0x7f2e2721c2a8), requires_capability(0x7f2e421cd9b8), requires_capability(0x7f2e2880c978), requires_capability(0x7f2e3212fd08), requires_capability(0x7f2e347f8398), requires_capability(0x7f2e2b05c808), requires_capability(0x7f2e2bee3ea8)]] xref:CAmount.adoc[CAmount] GetTotalFee() const; ---- == Return Value The total fee. [.small]#Created with https://www.mrdocs.com[MrDocs]#