UNPKG

bitcoin-cli-ts

Version:

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

15 lines (14 loc) 510 B
// Auto synced from github actions. Don't change this file import { __rest } from "tslib"; import request from '../../rpc-request'; /** * 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) { var bitcoind = params.bitcoind, methodParams = __rest(params, ["bitcoind"]); return request({ method: 'abortrescan', params: methodParams }, bitcoind); }