Skip to main content

abortrescan

abortrescan

Stops current wallet rescan triggered e.g. by an importprivkey call.

# Import a private key
yerbas-cli importprivkey "mykey"

# Abort the running wallet rescan
yerbas-cli abortrescan

Output

ResultTypeDescription
.........
Result:
{
...
}

Examples

curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "abortrescan", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:9998/