[#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(0x7f95135d3368), requires_capability(0x7f9501b12748), requires_capability(0x7f950ec78938), requires_capability(0x7f9525ea8688), requires_capability(0x7f9515097dc8), requires_capability(0x7f950826c068), requires_capability(0x7f94f856f778), requires_capability(0x7f9513c59968)]] xref:CAmount.adoc[CAmount] GetTotalFee() const; ---- == Return Value The total fee. [.small]#Created with https://www.mrdocs.com[MrDocs]#