unloadwallet

Back to wallet

Wallet

Summary

Unloads the wallet referenced by the request endpoint or the wallet_name argument.

Description

Unloads the wallet referenced by the request endpoint or the wallet_name argument. If both are specified, they must be identical.

Arguments

  • wallet_name (STR): The name of the wallet to unload. If provided both here and in the RPC endpoint, the two must be identical.
  • load_on_startup (BOOL): Save wallet name to persistent settings and load on startup. True to add wallet to startup list, false to remove, null to leave unchanged.

Results

  • value (OBJ): No description.
  • warnings (ARR, optional): Warning messages, if any, related to unloading the wallet.
    • value (STR): No description.

Examples

qbit-cli unloadwallet wallet_name
curl --user myusername --data-binary '{"jsonrpc": "2.0", "id": "curltest", "method": "unloadwallet", "params": [wallet_name]}' -H 'content-type: application/json' http://127.0.0.1:8352/