@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
14 lines • 556 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* unloadwallet ( "wallet_name" load_on_startup )
*
* Unloads the wallet referenced by the request endpoint, otherwise unloads the wallet specified in the argument.
* Specifying the wallet name on a wallet endpoint is invalid.
*
*/
export function unloadWallet(params) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'unloadwallet', params: methodParams }, bitcoind);
}
//# sourceMappingURL=unload-wallet.js.map