Contents

deleteTransaction#

Permanently delete a transaction from the wallet’s transaction history.

Request:

The request args must be a DeleteTransactionRequest object.

Response:

On success, the result is an empty object.

Side effects:

Deletes the transaction from the wallet’s history.

Expected errors:

The caller can handle the following errors inline: WALLET_TRANSACTION_NOT_FOUND, WALLET_REQUEST_TRANSACTION_STATE_UNSUPPORTED.

Details:

Deleting is only possible in states that advertise the delete action (in txActions), typically final or dialog states. Any background task associated with the transaction is stopped.

interface DeleteTransactionRequest {
  transactionId: TransactionIdStr;
}