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

17 lines
942 B
Markdown
Raw Normal View History

[zcash-android-wallet-sdk](../../index.md) / [cash.z.wallet.sdk.data](../index.md) / [Synchronizer](index.md) / [sendToAddress](./send-to-address.md)
# sendToAddress
`abstract suspend fun sendToAddress(zatoshi: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`, toAddress: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, memo: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` = "", fromAccountId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = 0): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
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.