On this page

change_mnemonic_password

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

While this will change the password used to encrypt the mnemonic phrase in the local database, it will not update the wallet_password value in the MM2.json config file. This will need to be updated manually, otherise you will see a log error Error initializing wallet: Error generating or decrypting mnemonic: Error decrypting mnemonic: HMAC error: MAC tag mismatch on next launch.

StructureTypeDescription
current_passwordstringthe active mnemonic password for your wallet
new_passwordstringthe new password to use for encrypting your active mnemonic password

POST
change_mnemonic_password
{
  "mmrpc": "2.0",
  "method": "change_mnemonic_password",
  "userpass": "RPC_UserP@SSW0RD",
  "params": {
    "current_password": "old_password123",
    "new_password": "new_password456"
  }
}

To view your mnemonic phrase in plain text, use get_mnemonic.