UNPKG

bitcoin-cli-ts

Version:

Auto-generated Bitcoin client library for bitcoind JSON-RPC API

15 lines (14 loc) 575 B
// Auto synced from github actions. Don't change this file import { __rest } from "tslib"; import request from '../../rpc-request'; /** * 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) { var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]); return request({ method: 'unloadwallet', params: methodParams }, bitcoind); }