suggestFee

open override fun suggestFee(tx: iTransaction, pad: Int, priority: Int): Long

Calculate a suggested fee for this transaction

Return

The fee in satoshis

Parameters

tx

The transaction that needs a fee

pad

Presume that the transaction is actually this much bigger

priority

Some blockchain defined measure of the importance of this tx. 0 is the highest priority. Irrelevant in BCH

Throws

error specific subclasses of WalletException are thrown if the transaction cannot be constructed