Forget
status: stable
Forget pending transaction. Importantly, a transaction, when sent, cannot be cancelled. One can only request forgetting about it in order to try spending (concurrently) the same UTxO in another transaction. But, the transaction may still show up later in a block and therefore, appear in the wallet.
Path parameters
-
Minimum length is
40
, maximum length is40
. -
Minimum length is
64
, maximum length is64
.
DELETE
/wallets/{walletId}/transactions/{transactionId}
curl \
--request DELETE 'https://localhost:8090/v2/wallets/{walletId}/transactions/{transactionId}'
Response examples (406)
{
"message": "string",
"code": "not_acceptable"
}
Response examples (403)
{
"message": "string",
"code": "transaction_already_in_ledger",
"info": {
"transaction_id": "1423856bc91c49e928f6f30f4e8d665d53eb4ab6028bd0ac971809d514c92db1"
}
}
Response examples (404)
No_such_wallet
{
"message": "string",
"code": "no_such_wallet",
"info": {
"wallet_id": "2512a00e9653fe49a44a5886202e24d77eeb998f"
}
}
{
"message": "string",
"code": "wallet_not_initialized"
}
{
"message": "string",
"code": "no_such_transaction",
"info": {
"transaction_id": "1423856bc91c49e928f6f30f4e8d665d53eb4ab6028bd0ac971809d514c92db1"
}
}