UNPKG

bitcoin-cli-ts

Version:

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

16 lines (15 loc) 553 B
import { Bitcoind } from '../../types'; 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 {};