[#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(0x7ff37b420c68), requires_capability(0x7ff376fd8618), requires_capability(0x7ff38def7838), requires_capability(0x7ff3640f8848), requires_capability(0x7ff3920f8b38), requires_capability(0x7ff37f5cac58), requires_capability(0x7ff37d011ed8), requires_capability(0x7ff374c156e8)]] xref:CAmount.adoc[CAmount] GetTotalFee() const; ---- == Return Value The total fee. [.small]#Created with https://www.mrdocs.com[MrDocs]#