getFeeRate

fun getFeeRate(targetBlocks: Int, probability: Double): Double?(source)

Gets the recommended fee rate for a specific target block count and confidence level.

Return

The fee rate in sat/vB, or null if the estimate is not available

Parameters

targetBlocks

The desired confirmation target in blocks

probability

The desired confidence level (between 0.0 and 1.0)