unloadwallet

Input(s) 2

This command unloads the specified wallet from the Bitcoin Core server. If no wallet name is provided, it unloads the wallet referenced by the request endpoint. Optionally, it allows for saving the wallet name to persistent settings and loading it on startup.

How is this used?

This command is used to safely unload a wallet from the Bitcoin Core server, freeing up system resources and ensuring security. It can be helpful when managing multiple wallets or during maintenance tasks. The optional parameter 'load_on_startup' facilitates configuring whether the wallet should be loaded automatically on server startup, offering flexibility in wallet management.

Request

method

unloadwallet

wallet_name

Optional

load_on_startup

Optional

Inputs(2)

wallet_name The name of the wallet to unload
load_on_startup Whether to save the wallet name to persistent settings and load it on startup

Result