migratewallet
A new wallet backup will need to be made.
The migration process will create a backup of the wallet before migrating. This backup
file will be named
Encrypted wallets must have the passphrase provided as an argument to this call.
This RPC may take a long time to complete. Increasing the RPC client timeout is recommended.
Argument #1-wallet_name
Type: string, Optional
Default=the wallet name from the RPC endpoint
Description: The name of the wallet to migrate. If provided both here and in the RPC endpoint, the two must be identical.
Argument #2-passphrase
Type: string, Optional
Description: The wallet passphrase
Result
{ (json object)
"wallet_name" : "str", (string) The name of the primary migrated wallet
"watchonly_name" : "str", (string, optional) The name of the migrated wallet containing the watchonly scripts
"solvables_name" : "str", (string, optional) The name of the migrated wallet containing solvable but not watched scripts
"backup_path" : "str" (string) The location of the backup of the original wallet
}