@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
15 lines • 530 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* loadwallet "filename" ( load_on_startup )
*
* Loads a wallet from a wallet file or directory.
* Note that all wallet command-line options used when starting bitcoind will be
* applied to the new wallet.
*
*/
export function loadWallet(params) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'loadwallet', params: methodParams }, bitcoind);
}
//# sourceMappingURL=load-wallet.js.map