On this page

latest contributor to this doc

Last Edit:

@gcharang

Delete Wallet

API-v2delete_wallet

Securely deletes a wallet. The wallet must not be the currently active wallet. This action is irreversible.

Parameter* = requiredTypeDescription
password*
string
The password of the wallet.
wallet_name*
string
The name of the wallet to delete.

The response for a successful request is null.

Delete Wallet

POST
delete_wallet
{
  "userpass": "RPC_UserP@SSW0RD",
  "method": "delete_wallet",
  "mmrpc": "2.0",
  "params": {
    "wallet_name": "wallet-to-delete",
    "password": "pass1"
  }
}

Parameter* = requiredTypeDescription
CannotDeleteActiveWallet
string
Optional. An attempt was made to delete the currently active wallet.
InternalError
string
Optional. An internal server error occurred.
InvalidPassword
string
Optional. The provided password is incorrect.
InvalidRequest
string
Optional. The request is malformed or missing required parameters.
WalletNotFound
string
Optional. The specified wallet_name was not found.
WalletsStorageError
string
Optional. A storage-related error occurred while accessing wallet data.