unloadwallet
unloadwallet ( "wallet_name" load_on_startup )
Unloads the wallet referenced by the request endpoint, or unloads the wallet specified in the argument.
Specifying the wallet name directly in the wallet endpoint is invalid.
Argument #1 – wallet_name
Type: string, optional, default=the wallet name from the RPC endpoint
The name of the wallet to unload. Must be provided either in the RPC endpoint or in this parameter, but not both.
Argument #2 – load_on_startup
Type: boolean, optional, default=null
Specifies whether to save the wallet name to persistent settings and load it on startup.
- Set to
true
to add the wallet to the startup list. - Set to
false
to remove it. - Set to
null
to leave unchanged.