UNPKG

@vafanassieff/bitcoin-cli-ts

Version:

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

18 lines 594 B
import { Bitcoind } from '../../types.js'; type RestoreWalletParams = { bitcoind: Bitcoind; wallet_name: string; backup_file: string; load_on_startup?: boolean; }; /** * restorewallet "wallet_name" "backup_file" ( load_on_startup ) * * Restores and loads a wallet from backup. * The rescan is significantly faster if a descriptor wallet is restored * and block filters are available (using startup option "-blockfilterindex=1"). * */ export declare function restoreWallet(params: RestoreWalletParams): Promise<any>; export {}; //# sourceMappingURL=restore-wallet.d.ts.map