suspend fun initSpend(zatoshiValue: Long, toAddress: String, memo: String, fromAccountIndex: Int): PendingTransaction
Initialize a spend with the main purpose of creating an idea to use for tracking it until completion.
zatoshi
- the amount to spend.
toAddress
- the address to which funds will be sent.
memo
- the optionally blank memo associated with this transaction.
fromAccountIndex
- the account from which to spend funds.
Return
the associated pending transaction whose ID can be used to monitor for changes.