bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
15 lines (14 loc) • 543 B
JavaScript
// Auto synced from github actions. Don't change this file
import { __rest } from "tslib";
import request from '../../rpc-request';
/**
* upgradewallet ( version )
*
* Upgrade the wallet. Upgrades to the latest version if no version number is specified.
* New keys may be generated and a new wallet backup will need to be made.
*
*/
export function upgradeWallet(params) {
var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]);
return request({ method: 'upgradewallet', params: methodParams }, bitcoind);
}