1.1 KiB
1.1 KiB
zcash-android-wallet-sdk / cash.z.wallet.sdk / SdkSynchronizer / sendToAddress
sendToAddress
fun sendToAddress(spendingKey:
String
, zatoshi:
Long
, toAddress:
String
, memo:
String
, fromAccountIndex:
Int
): Flow<
PendingTransaction
>
Overrides Synchronizer.sendToAddress
Sends zatoshi.
Parameters
spendingKey
- the key that allows spends to occur.
zatoshi
- the amount of zatoshi to send.
toAddress
- the recipient'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.