send

open override fun send(amountSatoshis: Long, destAddress: String, deductFeeFromAmount: Boolean, sync: Boolean, note: String?, minConfirms: Int): iTransaction

Send funds to this destination. This function will select input coins from the wallet to fill the passed quantity

Return

a signed transaction

Parameters

amountSatoshis

Provide how many coins to send, denominated in the fundamental (smallest possible) unit of this currency

destAddress

The destination address as a string

deductFeeFromAmount

Set to true to reduce the amount sent by the fee needed

sync

If true, do not return until this transaction has been sent to some nodes

note

Some information the sender may privately associate with this send

Throws

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


open override fun send(amountSatoshis: Long, destAddress: PayAddress, deductFeeFromAmount: Boolean, sync: Boolean, note: String?, minConfirms: Int): iTransaction

Send funds to this destination. This function will select input coins from the wallet to fill the passed quantity

Return

a signed transaction

Parameters

amountSatoshis

Provide how many coins to send, denominated in the fundamental (smallest possible) unit of this currency

destAddress

The destination address

deductFeeFromAmount

Set to true to reduce the amount sent by the fee needed

note

Some information the sender may privately associate with this send

Throws

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


open override fun send(addrAmt: List<Pair<PayAddress, Long>>, sync: Boolean, note: String?, minConfirms: Int): iTransaction

Send funds to multiple destinations. This function will select input coins from the wallet to fill the passed quantity

Return

a signed transaction

Parameters

addrAmt

Provide a list of how many coins to send to which addresses denominated in the fundamental (smallest possible) unit of this currency

sync

If true, do not return until this transaction has been sent to some nodes

note

Some information the sender may privately associate with this send

Throws

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


open override fun send(amountSatoshis: Long, destScript: SatoshiScript, deductFeeFromAmount: Boolean, sync: Boolean, note: String?, minConfirms: Int): iTransaction

Send funds to this destination. This function will select input coins from the wallet to fill the passed quantity

Return

a signed transaction

Parameters

amountSatoshis

Provide how many coins to send, denominated in the fundamental (smallest possible) unit of this currency

destScript

The output (constraint) script

deductFeeFromAmount

Set to true to reduce the amount sent by the fee needed

note

Some information the sender may privately associate with this send

Throws

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


open override fun send(tx: iTransaction, sync: Boolean, note: String?)

Post this transaction and update the wallet based on any inputs spent. Typically the provided tx came from calling prepareSend

Return

A signed transaction

Parameters

tx

The transaction to be sent

note

Some information the sender may privately associate with this send

Throws

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