Estimate the feerate needed to confirm within target blocks; wraps estimateSmartFee into a FeeRateEstimation.
Declared in <policy/fees/block_policy_estimator.h>
[[requires_capability(0x7ff379285c48), requires_capability(0x7ff374096008)]]
util::Expected<FeeRateEstimation, FeeRateEstimationError>
EstimateFeeRate(
int target,
bool conservative) const;
The fee rate estimation on success, or an error describing why none could be given.
| Name | Description |
|---|---|
| target | Desired number of blocks within which to confirm. |
| conservative | Whether to produce a conservative estimate valid over longer horizons. |