loadwallet

Note that all wallet command-line options used when starting bitcoind will be applied to the new wallet.

Argument #1-filename

Type: string, Required

Description: The wallet directory or .dat file.

Argument #2-load_on_startup

Type: boolean, Optional

Description: Save wallet name to persistent settings and load on startup. True to add wallet to startup list, false to remove, null to leave unchanged.

Result

  {                    (json object)
    "name" : "str",    (string) The wallet name if loaded successfully.
    "warnings" : [     (json array, optional) Warning messages, if any, related to loading the wallet.
      "str",           (string)
      ...
    ]
  }