configure

fun configure(probabilities: List<Double>? = null, blockTargets: List<Double>? = null, shortTermWindowDuration: Duration? = null, longTermWindowDuration: Duration? = null): FeeEstimator(source)

Creates a new FeeEstimator with modified settings.

Return

A new FeeEstimator instance with the specified settings

Parameters

probabilities

New confidence levels (null to keep current)

blockTargets

New block targets (null to keep current)

shortTermWindowDuration

New short-term window duration (null to keep current)

longTermWindowDuration

New long-term window duration (null to keep current)