Skip to main content

abortrescan

Overview

The 'abortrescan' Stops current wallet rescan triggered by an RPC call, e.g. by an importprivkey call.

Request

wget --no-check-certificate --quiet \
--method POST \
--timeout=0 \
--header 'Content-Type: application/json' \
--header 'accept: application/json' \
--header 'X-CoinAPI-Key: 4303fb63-adec-42dc-b571-74bc2f2a5167' \
--body-data '{"jsonrpc":"2.0","id":1,"method":"abortrescan","params": [ ]}' \
'https://bitcoin-mainnet.node.coinapi.io'

Response

{
"result": null,
"error": {
"code": -18,
"message": "No wallet is loaded. Load a wallet using loadwallet or create a new one with createwallet. (Note: A default wallet is no longer automatically created)"
},
"id": 1
}