[#CTxMemPoolEntry-GetFee]
= xref:CTxMemPoolEntry.adoc[CTxMemPoolEntry]::GetFee
:relfileprefix: ../
:mrdocs:

Returns the fee the transaction paid&period;

== Synopsis

Declared in `&lt;kernel&sol;mempool&lowbar;entry&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CAmount.adoc[CAmount] const&
GetFee() const;
----

== Return Value

The transaction fee&period;


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