@vafanassieff/bitcoin-cli-ts
Version:
Auto-generated Bitcoin client library for bitcoind JSON-RPC API
14 lines • 490 B
JavaScript
// Auto synced from github actions. Don't change this file
import request from '../../rpc-request.js';
/**
* abortrescan
*
* Stops current wallet rescan triggered by an RPC call, e.g. by an importprivkey call.
* Note: Use "getwalletinfo" to query the scanning progress.
*
*/
export function abortRescan(params) {
const { bitcoind, ...methodParams } = params;
return request({ method: 'abortrescan', params: methodParams }, bitcoind);
}
//# sourceMappingURL=abort-rescan.js.map