@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
16 lines • 599 B
TypeScript
import { Bitcoind } from '../../types.js';
type ImportWalletParams = {
bitcoind: Bitcoind;
filename: string;
};
/**
* importwallet "filename"
*
* Imports keys from a wallet dump file (see dumpwallet). Requires a new wallet backup to include imported keys.
* Note: Blockchain and Mempool will be rescanned after a successful import. Use "getwalletinfo" to query the scanning progress.
* Note: This command is only compatible with legacy wallets.
*
*/
export declare function importWallet(params: ImportWalletParams): Promise<any>;
export {};
//# sourceMappingURL=import-wallet.d.ts.map