[#CBlockPolicyEstimator-estimateSmartFee] = xref:CBlockPolicyEstimator.adoc[CBlockPolicyEstimator]::estimateSmartFee :relfileprefix: ../ :mrdocs: Estimate feerate needed to get be included in a block within confTarget blocks. If no answer can be given at confTarget, return an estimate at the closest target where one can be given. 'conservative' estimates are valid over longer time horizons also. == Synopsis Declared in `<policy/fees/block_policy_estimator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e3ae70e58), requires_capability(0x7f2e2423ae58)]] virtual xref:CFeeRate.adoc[CFeeRate] estimateSmartFee( int confTarget, xref:FeeCalculation.adoc[FeeCalculation]* feeCalc, bool conservative) const; ---- == Return Value The estimated feerate. == Parameters [cols="1,4"] |=== | Name| Description | *confTarget* | Desired number of blocks within which to confirm. | *feeCalc* | Optional output with detailed information about the calculation. | *conservative* | Whether to produce a conservative estimate valid over longer horizons. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#