[#wallet-GetMinimumFee]
= xref:wallet.adoc[wallet]::GetMinimumFee
:relfileprefix: ../
:mrdocs:

Return the minimum fee for this size given a fee rate result&period;

== Synopsis

Declared in `&lt;wallet&sol;fees&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CAmount.adoc[CAmount]
GetMinimumFee(
    xref:wallet/MinimumFeeRateResult.adoc[MinimumFeeRateResult] const& min&lowbar;fee&lowbar;rate,
    unsigned int nTxBytes);
----

== Return Value

The minimum absolute fee for the given size&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *min&lowbar;fee&lowbar;rate*
| The computed minimum fee rate to apply&period;
| *nTxBytes*
| The transaction size in bytes&period;
|===


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