calculateFee

open fun calculateFee(data: Array<Byte>, satVb: String): String

Calculates the fee of any Bitcoin transaction.

Parameters

data

: the signed transaction in its final form.

satVb

: the satoshis per vbyte amount. The passed on string is interpreted as a unit64_t.