kin-android

kin-android / org.kin.sdk.base / KinAccountContextImpl / sendKinPayment

sendKinPayment

fun sendKinPayment(amount: KinAmount, destinationAccount: Id, memo: KinMemo): Promise<KinPayment>

Send an amount of Kin to a destinationAccount to the Kin Blockchain for processing.

Parameters

the - amount of Kin to be sent

destinationAccount - the account the Kin is to be transferred to

memo - (optional) a memo can be provided to reference what the payment was for. If no memo is desired, then set it to KinMemo.NONE

Return a Promise with the blockchain confirmed KinPayment

fun sendKinPayment(amount: KinAmount, destinationAccount: Id, memo: KinMemo, paymentCallback: Callback<KinPayment>): Unit

See Also

KinPaymentWriteOperations.sendKinPayment