BITCOIN-CLI Command Finishing

Source: Internet
Author: User

A, General order

Help ("command") stop
GetInfo
Ping
Getnettotals
Getnetworkinfo
Getpeerinfo
Getconnectioncount
Verifychain (Checklevel numblocks)
Getaddednodeinfo DNS ("node")
AddNode "Node" "Add|remove|onetry"


B, wallet, account, address, transfer, send message
Getwalletinfo
Walletpassphrase "Passphrase" timeout
Walletlock
Walletpassphrasechange "Oldpassphrase" "Newpassphrase"
Backupwallet "Destination"
Importwallet "FileName"
Dumpwallet "FileName"

Listaccounts (minconf)
Getaddressesbyaccount "Account"
Getaccountaddress "Account"
Getaccount "Bitcoinaddress"
Validateaddress "Bitcoinaddress"
Dumpprivkey "Bitcoinaddress"
Setaccount "Bitcoinaddress" "Account"
Getnewaddress ("account")
Keypoolrefill (newsize)
Importprivkey "Bitcoinprivkey" ("label" rescan)
Createmultisig nrequired ["Key",...]
Addmultisigaddress nrequired ["Key",...] ("Account")

GetBalance ("account" minconf)
Getunconfirmedbalance
Getreceivedbyaccount "Account" (minconf)
Listreceivedbyaccount (minconf includeempty)
Getreceivedbyaddress "Bitcoinaddress" (minconf)
Listreceivedbyaddress (minconf includeempty)
Move "Fromaccount" "Toaccount" Amount (minconf "comment")
Listunspent (minconf maxconf ["Address",...])
Listlockunspent
Lockunspent unlock [{"Txid": "Txid", "Vout": n},...]

Getrawchangeaddress
Listaddressgroupings
Settxfee Amount
Sendtoaddress "bitcoinaddress" Amount ("comment" "comment-to")
Sendfrom "Fromaccount" "tobitcoinaddress" Amount (minconf "comment" "comment-to")
Sendmany "Fromaccount" {"Address": Amount,...} (minconf "comment")

Signmessage "bitcoinaddress" "Message"
Verifymessage "bitcoinaddress" "signature" "Message"


C, Tx, block, Ming

createrawtransaction [{"Txid": "id", "vout": n},...] {"Address": Amount,...}
Signrawtransaction "HexString" ([{"Txid": "id", "vout": N, "Scriptpubkey": "Hex", "Redeemscript": "Hex"},...] ["PrivateKey1",...] Sighashtype)
Sendrawtransaction "HexString" (allowhighfees)


Gettransaction "Txid"
Listtransactions (' account ' count from)
Listsinceblock ("Blockhash" target-confirmations)


Getrawmempool (verbose)
Gettxoutsetinfo
Gettxout "Txid" N (includemempool)
Getrawtransaction "Txid" (verbose)
Decoderawtransaction "HexString"
Decodescript "Hex"

Getblockchaininfo
Getblockcount
Getbestblockhash
Getblockhash Index
Getblock "Hash" (verbose)

Getmininginfo
Getdifficulty
Getnetworkhashps (blocks height)
Gethashespersec
Getgenerate
Setgenerate Generate (Genproclimit)
Getwork ("Data")
Getblocktemplate ("Jsonrequestobject")
Submitblock "Hexdata" ("Jsonparametersobject")


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.