Bitcoin Tutorials - Herong's Tutorial Examples - v1.06, by Herong Yang
Bitcoin Core CLI Commands
This section describes what commands are supported by Bitcoin Core CLI Programs.
If you want to get a list of all commands supported by Bitcoin Core CLI, you can run the following command:
C:\>\local\bitcoin-0.15.1\bin\bitcoin-cli -testnet help == Blockchain == getblockchaininfo getblockcount getchaintips getdifficulty getmempoolinfo gettxoutsetinfo preciousblock "blockhash" ... == Control == getinfo getmemoryinfo ("mode") help ( "command" ) stop uptime ... == Mining == getblocktemplate ( TemplateRequest ) getmininginfo submitblock "hexdata" ( "dummy" ) ... == Network == getconnectioncount getnettotals getnetworkinfo getpeerinfo listbanned ping ... == Rawtransactions == createrawtransaction [{"txid":"id","vout":n},...] {"address":amount, "data":"hex",...} ( locktime ) ( replaceable ) decoderawtransaction "hexstring" decodescript "hexstring" getrawtransaction "txid" ( verbose ) ... == Util == signmessagewithprivkey "privkey" "message" validateaddress "address" verifymessage "address" "signature" "message" ... == Wallet == backupwallet "destination" dumpprivkey "address" dumpwallet "filename" encryptwallet "passphrase" getaccount "address" getaccountaddress "account" getaddressesbyaccount "account" getbalance ( "account" minconf include_watchonly ) getnewaddress ( "account" ) getunconfirmedbalance getwalletinfo ...
Table of Contents
Access Bitcoin Test Network "-testnet"
"bitcoin-cli getclock" Command
bitcoin-cli Transaction Commands
"bitcoin-cli encryptwallet" - Set Wallet Password
"bitcoin-cli walletpassphrase" - Unlock Wallet
"bitcoin-cli backupwallet" - Backup Wallet