BITCOIN-CLI(1) BITCOIN-CLI(1) (NAME) bitcoin-cli - (SYNOPSIS) bitcoin-cli [options] [params] bitcoin-cli [options] -named [name=value]... bitcoin-cli [options] help bitcoin-cli [options] help (DESCRIPTION) RPC (Bitcoin Core) v31.1.0 bitcoin-cli RPC . . <> . <>> . -named = (key=value) . (OPTIONS) -color= (: auto). : always auto ( WIN32 ) never. -getinfo . -conf= . datadir . (: bitcoin.conf) -datadir= -help ( -h -?) -named (: false) -rpcclienttimeout= () HTTP 0 . (: 900) -rpcconnect= (: 127.0.0.1) -rpccookiefile= (auth cookie). datadir . (: ) -rpcpassword= JSON-RPC -rpcport= JSON-RPC (: 8332 testnet: 18332 testnet4: 48332 signet: 38332 regtest: 18443) -rpcuser= JSON-RPC -rpcwait RPC -rpcwaittimeout= RPC 0 . (: 0) -rpcwallet= RPC RPC ( -wallet bitcoind ). (endpoint) RPC : http://127.0.0.1:8332/wallet/ -stdin EOF/Ctrl-D ( ). -stdinrpcpass RPC . -stdinrpcpass RPC . -stdin RPC . -stdinwalletpassphrase -stdinrpcpass -stdinwalletpassphrase . -stdinwalletpassphrase . -stdin . -version /: : -chain= (: main). : main test testnet4 signet regtest -signet signet. -chain=signet. -signetchallenge -signetchallenge ( signet signet ) -signetseednode (seed node) signet hostname[:port] sig.net:1234 ( () signet ) -testnet testnet3. -chain=test. testnet3 . -testnet4 testnet4 . -testnet4 testnet4. -chain=testnet4. (CLI): -addrinfo . . -generate RPC getnewaddress RPC generatetoaddress. : (: 1) (: 1000000) nblocks maxtries RPC generatetoaddress. : bitcoin-cli -generate 4 1000 -getinfo . RPC -getinfo . ( ) -netinfo (peers) . 0 4 (: 0). "outonly" ( "o") . "help" ( "h") . (COPYRIGHT) (C) 2009-2026 (The Bitcoin Core developers) . . . . MIT COPYING . (SEE ALSO) bitcoin(1), bitcoind(1), bitcoin-cli(1), bitcoin-tx(1), bitcoin-wallet(1), bitcoin-util(1), bitcoin-qt(1) bitcoin-cli v31.1.0 July 2026 BITCOIN-CLI(1)