suggestFee

abstract fun suggestFee(tx: iTransaction, pad: Int = 0, priority: Int = 0): 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