stop

control dangerous since 0.1.0

safely shuts down the Bitcoin Core server.

Share: X Bluesky Mastodon Reddit HN
↑ shares the docs page. Use Share this query below for a link with your current arg values.
Not executable from the web. Would harm the node, the network, or expose secrets. Documentation only, never executable from the web.
Call from your own code

Replace $BITCOIN_RPC_USER / $BITCOIN_RPC_PASSWORD with credentials from your bitcoind's bitcoin.conf, and replace localhost:8332 with your node's RPC address. You can't run this RPC against our node, but you can run it against your own bitcoind.

Help

stop

Request a graceful shutdown of Bitcoin Core.

Result:
"str"    (string) A string with the content 'Bitcoin Core stopping'
← back to all RPCs