[#CBlockPolicyEstimator-estimateRawFee]
= xref:CBlockPolicyEstimator.adoc[CBlockPolicyEstimator]::estimateRawFee
:relfileprefix: ../
:mrdocs:

Return a specific fee estimate calculation with a given success threshold and time horizon, and optionally return detailed data about calculation&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e3ae70f98), requires&lowbar;capability(0x7f2e2423af98)&rsqb;&rsqb;
xref:CFeeRate.adoc[CFeeRate]
estimateRawFee(
    int confTarget,
    double successThreshold,
    xref:FeeEstimateHorizon.adoc[FeeEstimateHorizon] horizon,
    xref:EstimationResult.adoc[EstimationResult]* result = nullptr) const;
----

== Return Value

The estimated feerate&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *confTarget*
| Desired number of blocks within which to confirm&period;
| *successThreshold*
| Fraction of transactions that must confirm within the target&period;
| *horizon*
| Time horizon whose tracked data to use&period;
| *result*
| Optional output with detailed data about the calculation&period;
|===


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