Return the minimum required absolute fee for this size based on the required fee rate

Synopsis

Declared in <wallet/fees.h>

CAmount
GetRequiredFee(
    CWallet const& wallet,
    unsigned int nTxBytes);

Return Value

The minimum required absolute fee for the given size.

Parameters

Name

Description

wallet

The wallet whose required fee rate is used.

nTxBytes

The transaction size in bytes.

Created with MrDocs