@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
14 lines • 525 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* 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) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'upgradewallet', params: methodParams }, bitcoind);
}
//# sourceMappingURL=upgrade-wallet.js.map