FeeRateEstimationRef

Return the estimation carried by a fee rate estimate result: the successful estimation, or the error's zero-value estimation.

Synopsis

Declared in <util/fees.h>

FeeRateEstimation const&
FeeRateEstimationRef(util::Expected<FeeRateEstimation, FeeRateEstimationError> const& result);

Return Value

A reference to the successful estimation, or the error's zero-value estimation.

Parameters

NameDescription
resultThe estimate result to unwrap.