∟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

 About This Book

 Introduction of Bitcoin

 Bitcoin Blockchain

 Bitcoin Wallet

►Bitcoin Core

 Bitcoin Core Programs

 Bitcoin Core Daemon

 Bitcoin Core CLI

►Bitcoin Core CLI Commands

 Access Bitcoin Test Network "-testnet"

 bitcoin-cli Network Commands

 "bitcoin-cli getblock" Command

 bitcoin-cli Transaction Commands

 bitcoin-cli Wallet Commands

 "bitcoin-cli encryptwallet" - Set Wallet Password

 "bitcoin-cli walletpassphrase" - Unlock Wallet

 "bitcoin-cli backupwallet" - Backup Wallet

 Bitcoin Transaction

 Bitcoin-Qt - Bitcoin Core GUI

 Bitcoin Mining

 Bitcoin Consensus Rules

 Bitcoin Block Data Structure

 Bitcoin Transaction Data Structure

 Bitcoin Blockchain APIs

 Copay - Bitcoin Wallet

 Archived Tutorials

 References

 Full Version in PDF/EPUB