bitcoind.app
CommandsGuidesContact ↗
Home/Wallet/loadwallet
Wallet

loadwallet

Loads a wallet from a wallet file or directory.

Parameters

filenamestringREQUIRED
The wallet directory or .dat file
load_on_startupbooleanoptional
Save wallet name to config for auto-load

Returns

objectWallet load result

Code Examples

curl --user myuser --data-binary '{"jsonrpc":"1.0","id":"1","method":"loadwallet","params":["mywallet"]}' -H 'content-type:text/plain;' http://127.0.0.1:8332/

Example Response

{
  "name": "mywallet",
  "warning": ""
}
← Previous
listwallets
Next →
sendtoaddress

More Wallet Commands

abandontransactioncreatewalletdumpprivkeygetbalancegetnewaddressgettransaction

bitcoind.app — Bitcoin Core RPC Reference

GuidesContact ↗