@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
18 lines • 641 B
TypeScript
import { Bitcoind } from '../../types.js';
type RescanBlockchainParams = {
bitcoind: Bitcoind;
start_height?: number;
stop_height?: number;
};
/**
* rescanblockchain ( start_height stop_height )
*
* Rescan the local blockchain for wallet related transactions.
* Note: Use "getwalletinfo" to query the scanning progress.
* The rescan is significantly faster when used on a descriptor wallet
* and block filters are available (using startup option "-blockfilterindex=1").
*
*/
export declare function rescanBlockchain(params: RescanBlockchainParams): Promise<any>;
export {};
//# sourceMappingURL=rescan-blockchain.d.ts.map