- abortTransaction#
Abort a transaction.
Request:
The request
argsmust be an AbortTransactionRequest object.Response:
On success, the result is an empty object.
Side effects:
Transitions the transaction into an aborting state and starts abort processing, which may issue refunds or recover coins (network activity).
Expected errors:
The caller can handle the following errors inline:
WALLET_TRANSACTION_NOT_FOUND,WALLET_TRANSACTION_ACTION_UNSUPPORTED,WALLET_REQUEST_TRANSACTION_STATE_UNSUPPORTED.Details:
For payment transactions, aborting puts the payment into an
abortingstate, in which the wallet recovers the spent coins via a refund where possible before the transaction reaches a final state. Whether a transaction can currently be aborted is advertised in itstxActions.
interface AbortTransactionRequest {
transactionId: TransactionIdStr;
}