zcash-android-wallet-sdk/docs/-synchronizer/cancel-send.md

690 B

zcash-android-wallet-sdk / cash.z.ecc.android.sdk.data / Synchronizer / cancelSend

cancelSend

abstract fun cancelSend(transaction: SentTransaction): Boolean

Attempts to cancel a previously sent transaction. Typically, cancellation is only an option if the transaction has not yet been submitted to the server.

Parameters

transaction - the transaction to cancel.

Return true when the cancellation request was successful. False when it is too late to cancel.