OnChainFeerates

data class OnChainFeerates(mutualCloseFeerate: FeeratePerKw, claimMainFeerate: FeeratePerKw, fastFeerate: FeeratePerKw)

Preferences regarding on-chain feerates that will be applied to various transactions.

Parameters

mutualCloseFeerate

feerate used in mutual close scenarios (typically configured by the user, based on their preference).

claimMainFeerate

feerate used to claim our main output when a channel is force-closed (typically configured by the user, based on their preference).

fastFeerate

feerate used to claim outputs quickly to avoid loss of funds: this one should not be set by the user (we should look at current on-chain fees).

Constructors

OnChainFeerates
Link copied to clipboard
common
fun OnChainFeerates(mutualCloseFeerate: FeeratePerKw, claimMainFeerate: FeeratePerKw, fastFeerate: FeeratePerKw)

Properties

claimMainFeerate
Link copied to clipboard
common
val claimMainFeerate: FeeratePerKw
fastFeerate
Link copied to clipboard
common
val fastFeerate: FeeratePerKw
mutualCloseFeerate
Link copied to clipboard
common
val mutualCloseFeerate: FeeratePerKw