[#wallet-GetRequiredFee] = xref:wallet.adoc[wallet]::GetRequiredFee :relfileprefix: ../ :mrdocs: Return the minimum required absolute fee for this size based on the required fee rate == Synopsis Declared in `<wallet/fees.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CAmount.adoc[CAmount] GetRequiredFee( xref:wallet/CWallet.adoc[CWallet] const& wallet, unsigned int nTxBytes); ---- == Return Value The minimum required absolute fee for the given size. == Parameters [cols="1,4"] |=== | Name| Description | *wallet* | The wallet whose required fee rate is used. | *nTxBytes* | The transaction size in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#