@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
13 lines • 489 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* backupwallet "destination"
*
* Safely copies the current wallet file to the specified destination, which can either be a directory or a path with a filename.
*
*/
export function backupWallet(params) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'backupwallet', params: methodParams }, bitcoind);
}
//# sourceMappingURL=backup-wallet.js.map