prepare Send
open override fun prepareSend(outputs: MutableList<iTxOutput>, minConfirms: Int, deductFeeFromAmount: Boolean): iTransaction
Creates an unsigned transaction that sends to a list of outputs. This function will select input coins from the wallet to fill the passed quantity and sign the transaction, but will not relay the transaction to the network.
Return
A signed transaction
Parameters
outputs
A list of amounts and output (constraint) scripts
min Confirms
: (Int = 0) minimum depth in the blockchain inputs must have to be eligible for inclusion in this transaction
deduct Fee From Amount
Set to true to reduce the amount sent by the fee needed, rather than add more for the fee
Throws
error specific subclasses of WalletException are thrown if the transaction cannot be constructed