[#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"] ---- xref:CAmount.adoc[CAmount] GetTotalFee() const; ---- == Return Value The total fee. [.small]#Created with https://www.mrdocs.com[MrDocs]#