[#CBlockPolicyEstimator-EstimateFeeRate] = xref:CBlockPolicyEstimator.adoc[CBlockPolicyEstimator]::EstimateFeeRate :relfileprefix: ../ :mrdocs: Estimate the feerate needed to confirm within `target` blocks; wraps estimateSmartFee into a FeeRateEstimation. == Synopsis Declared in `<policy/fees/block_policy_estimator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e3ae71998), requires_capability(0x7f2e2423b998)]] xref:util/Expected-0b.adoc[util::Expected<FeeRateEstimation, FeeRateEstimationError>] EstimateFeeRate( int target, bool conservative) const; ---- == Return Value The fee rate estimation on success, or an error describing why none could be given. == Parameters [cols="1,4"] |=== | Name| Description | *target* | Desired number of blocks within which to confirm. | *conservative* | Whether to produce a conservative estimate valid over longer horizons. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#