Menu

Caution

You are not reading the latest stable version of this documentation. If you want up-to-date information, please have a look at 0.3.5.x.

Bitcoin CLI

Instructions for accessing the bitcoind service in order to issue commands directly.

Warning

This is an advanced feature and should be used with caution. Start9 is not responsible for any damage you might cause through SSH access.

  1. First, you will need SSH access. Please see the setup instructions for details.

  2. Access your server and then you can interact with the bitcoind docker container using the following syntax:

sudo docker exec -ti bitcoind.embassy bitcoin-cli COMMAND

Tip

For example sudo docker exec -ti bitcoind.embassy bitcoin-cli getnetworkinfo

A list of possible commands can be found here.

You can also drop into a shell using:

sudo docker exec -ti bitcoind.embassy bash

and then enter bitcoin-cli commands. When you are finished, simply type exit