zcash-android-wallet-sdk/docs/-synchronizer/send-to-address.md

942 B

zcash-android-wallet-sdk / cash.z.wallet.sdk.data / Synchronizer / sendToAddress

sendToAddress

abstract suspend fun sendToAddress(zatoshi: Long, toAddress: String, memo: String= "", fromAccountId:Int= 0):Unit

Sends zatoshi.

Parameters

zatoshi - the amount of zatoshi to send.

toAddress - the receipient's address.

memo - the optional memo to include as part of the transaction.

fromAccountId - the optional account id to use. By default, the first account is used.