All apps/Bitcoin Core

Bitcoin Core

bitcoin

A peer-to-peer electronic cash system and full-node implementation.

Runs as bitcoin-cli, bitcoind, bitcoin-qt|macOS, Linux, Windows|bitcoincore.org

Command form

ai-draft · 2 tasks · 11 fields

Send one RPC command to a Bitcoin Core node. RPC passwords and the -stdin* options are left out; put credentials in bitcoin.conf or use the cookie file.

Opens the form; the finished command lands at your prompt, unrun
otty gui bitcoin
bitcoin-cliExample values, fixed in this page — nothing here reaches a terminal
Basic
RPC command*
string
Parameters
string
Chain
5 choicesenum
Wallet
string
Connection
Data directory
directory
TasksEach one presets the form for one job
Run an RPC command
chaindatadirrpcwalletrpc_commandparams
List RPC commands
chainrpc_command
ParametersOnly these flags are editable in the form
Chain
enum
-chainmaintesttestnet4signetregtest
Data directory
path
-datadir
Config file
path
-conf
RPC host
string
-rpcconnect
RPC port
integer
-rpcport
RPC user
string
-rpcuser
Wallet
string
-rpcwallet
Wait for RPC server
boolean
-rpcwait
Named parameters
boolean
-named
RPC command
For example getblockchaininfo, getbalance or help.
string · positional 0
Parameters
string · positional 1 · repeatable
SourcesEvery flag above is checked against these
manpage
bitcoin-cli [options] <command> [params] bitcoin-cli [options] -named <command> [name=value]... -conf=<file> -datadir=<dir> -named -rpcconnect=<ip> -rpcport=<port> -rpcuser=<user> -rpcwallet=<walletname> -rpcwait -chain=<chain> Allowed values: main, test, testnet4, signet, regtest -getinfo -netinfo
manualv31.1.0

man.archlinux.org

Before it fills your prompt, Otty checks the installed bitcoin-cli against its version. A form that does not match your version is not offered.