BlockTarget

data class BlockTarget(val blocks: Int, val probabilities: Map<Double, Double>)(source)

Represents fee estimates for a specific block target with multiple confidence levels.

Constructors

Link copied to clipboard
constructor(blocks: Int, probabilities: Map<Double, Double>)

Properties

Link copied to clipboard
val blocks: Int

The confirmation target in blocks

Link copied to clipboard

Map of confidence levels to their respective fee rates

Functions

Link copied to clipboard
fun getFeeRate(probability: Double): Double?

Gets the fee rate for a specific confidence level.