MemPoolFeeRateEstimator::EstimateFeeRate

Estimates the fee rate for inclusion in the next block.

Synopsis

Declared in <policy/fees/mempool_estimator.h>

[[requires_capability(0x7f2e403ca028), requires_capability(0x7f2e1404c788)]]
util::Expected<FeeRateEstimation, FeeRateEstimationError>
EstimateFeeRate(bool conservative) const;

Return Value

The estimated fee rate, or an error describing why estimation failed.

Parameters

NameDescription
conservativeWhen true, return the conservative (50th percentile) estimate; otherwise the economical (75th percentile) estimate.