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

Synopsis

Declared in <policy/fees/block_policy_estimator.h>

[[requires_capability(0x7f2e3ae70f98), requires_capability(0x7f2e2423af98)]]
CFeeRate
estimateRawFee(
    int confTarget,
    double successThreshold,
    FeeEstimateHorizon horizon,
    EstimationResult* result = nullptr) const;

Return Value

The estimated feerate.

Parameters

Name

Description

confTarget

Desired number of blocks within which to confirm.

successThreshold

Fraction of transactions that must confirm within the target.

horizon

Time horizon whose tracked data to use.

result

Optional output with detailed data about the calculation.

Created with MrDocs