loadwallet

Input(s) 2

The loadwallet RPC facilitates the loading of a wallet from either a wallet file or directory within the Bitcoin Core environment. This command is essential for managing multiple wallets within the node, enabling users to dynamically switch between wallets or add new ones.

How is this used?

The loadwallet RPC is used to dynamically load wallets into the Bitcoin Core node, enabling users to manage multiple wallets efficiently. It allows for seamless switching between wallets and facilitates the addition of new wallets as needed. This command is particularly useful for users who regularly work with multiple wallets or require specific wallets to be loaded automatically on node startup. Additionally, the ability to specify whether the loaded wallet should be saved to persistent settings enhances convenience and ensures that desired wallets are readily available for use.

Request

method

loadwallet

filename

Required

load_on_startup

Optional

Inputs(2)

one required input remaining...

filename (required) - The wallet directory or .dat file
load_on_startup Whether to load the wallet on startup (true or false)

Result