Change Mnemonic Password

change_mnemonic_passwordAPI-v2change_mnemonic_password

The change_mnemonic_password method allows a user to update the password used to encrypt a mnemonic phrase in their local database.

Request Parameters

Parameter Type Required Description
current_password string the active mnemonic password for your wallet
new_password string the new password to use for encrypting your active mnemonic password

Response Parameters

Parameter Type Required Description
result null Returns null on successful password change.

📌 Examples

Command

POST Change Mnemonic Password change_mnemonic_password
{
  "mmrpc": "2.0",
  "method": "change_mnemonic_password",
  "userpass": "RPC_UserP@SSW0RD",
  "params": {
    "current_password": "old_password123",
    "new_password": "new_password456"
  }
}
Show Change Mnemonic Password Response

Response (success)

{
  "mmrpc": "2.0",
  "result": null,
  "id": null
}

Error Types

Parameter Type Required Description
WalletsStorageError string Error decrypting or accessing wallet storage.
Show Error Responses

⚠️ Error Responses

WalletsStorageError (Wrong Password)
{
    "mmrpc": "2.0",
    "error": "Wallets storage error: Error decrypting passphrase: Error decrypting mnemonic: HMAC error: MAC tag mismatch",
    "error_path": "lp_wallet.mnemonic.decrypt",
    "error_trace": "lp_wallet:551] lp_wallet:141] mnemonic:109] decrypt:56]",
    "error_type": "WalletsStorageError",
    "error_data": "Error decrypting passphrase: Error decrypting mnemonic: HMAC error: MAC tag mismatch",
    "id": null
}