wallet_rotate_password
Change a wallet's keystore password through an atomic backup, re-encrypt, and verify process that restores the original keystore if any step fails, locking an unlocked wallet until re-unlock.
Instructions
Change the password for a wallet's encrypted keystore. Performs an atomic operation: backs up the keystore, re-encrypts with the new password, verifies the round-trip, then cleans up. If anything fails, the original keystore is restored. If the wallet is currently unlocked, it will be locked after rotation (requires re-unlock with new password).
Tip: call earning_opportunities to see how to put your assets to work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| walletId | No | Wallet ID to rotate password for (uses active wallet if not specified) | |
| newPassword | Yes | New password (minimum 8 characters) - WARNING: sensitive value | |
| oldPassword | Yes | Current wallet password - WARNING: sensitive value |