fee2rate

fun fee2rate(fee: Satoshi, weight: Int): FeeratePerKw

Return

the fee rate (in Satoshi/Kw) for this tx

Parameters

fee

tx fee

weight

tx weight