Delete Wallet
API-v2delete_wallet
Securely deletes a wallet. The wallet must not be the currently active wallet. This action is irreversible.
Parameter | Type | Required | Description |
---|---|---|---|
wallet_name | string | ✓ | The name of the wallet to delete. |
password | string | ✓ | The password of the wallet. |
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 | Type | Description |
---|---|---|
InvalidRequest | string | The request is malformed or missing required parameters. |
WalletNotFound | string | The specified wallet_name was not found. |
InvalidPassword | string | The provided password is incorrect. |
CannotDeleteActiveWallet | string | An attempt was made to delete the currently active wallet. |
WalletsStorageError | string | A storage-related error occurred while accessing wallet data. |
InternalError | string | An internal server error occurred. |