[#MemPoolFeeRateEstimator-EstimateFeeRate]
= xref:MemPoolFeeRateEstimator.adoc[MemPoolFeeRateEstimator]::EstimateFeeRate
:relfileprefix: ../
:mrdocs:

Estimates the fee rate for inclusion in the next block&period;

== Synopsis

Declared in `&lt;policy&sol;fees&sol;mempool&lowbar;estimator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f9504a40f88), requires&lowbar;capability(0x7f94f0a443b8)&rsqb;&rsqb;
xref:util/Expected-0b.adoc[util::Expected&lt;FeeRateEstimation, FeeRateEstimationError&gt;]
EstimateFeeRate(bool conservative) const;
----

== Return Value

The estimated fee rate, or an error describing why estimation failed&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *conservative*
| When true, return the conservative (50th percentile) estimate&semi; otherwise the economical (75th percentile) estimate&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
