RPC Browser

Arguments


Help Content

loadwallet "filename" ( load_on_startup )

Loads a wallet from a wallet file or directory.
Note that all wallet command-line options used when starting bitcoinIId will be
applied to the new wallet.

Arguments:
1. filename           (string, required) The wallet directory or .dat file.
2. load_on_startup    (boolean, optional) 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)
    ...
  ]
}

Examples:
> bitcoinII-cli loadwallet "test.dat"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "loadwallet", "params": ["test.dat"]}' -H 'content-type: text/plain;' http://127.0.0.1:8332/

filename

{
    "name": "filename",
    "detailsLines": [],
    "properties": [
        "string",
        "required"
    ],
    "description": "The wallet directory or .dat file."
}

load_on_startup

{
    "name": "load_on_startup",
    "detailsLines": [],
    "properties": [
        "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."
}

Recent (1)

Blockchain (33)

Control (6)

Mining (7)

Network (14)

Rawtransactions (19)

Signer (1)

Util (8)

Wallet (66)

Zmq (1)