@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
17 lines • 831 B
TypeScript
import { Bitcoind } from '../../types.js';
type ImportDescriptorsParams = {
bitcoind: Bitcoind;
requests: Array<unknown>;
};
/**
* importdescriptors requests
*
* Import descriptors. This will trigger a rescan of the blockchain based on the earliest timestamp of all descriptors being imported. Requires a new wallet backup.
* Note: This call can take over an hour to complete if using an early timestamp; during that time, other rpc calls
* may report that the imported keys, addresses or scripts exist but related transactions are still missing.
* The rescan is significantly faster if block filters are available (using startup option "-blockfilterindex=1").
*
*/
export declare function importDescriptors(params: ImportDescriptorsParams): Promise<any>;
export {};
//# sourceMappingURL=import-descriptors.d.ts.map