意见箱
恒创运营部门将仔细参阅您的意见和建议,必要时将通过预留邮箱与您保持联络。感谢您的支持!
意见/建议
提交建议

bitcoin-cli 命令(转)

来源:恒创科技 编辑:恒创科技编辑部
2024-01-30 07:35:59
help ( "command" )
stop

getinfo

ping

getnettotals

getnetworkinfo

getpeerinfo

getconnectioncount

verifychain ( checklevel numblocks )

getaddednodeinfo dns ( "node" )

addnode "node" "add|remove|onetry"


B、钱包、账户、地址、转帐、发消息
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" )


bitcoin-cli 命令(转)

上一篇: java - JavaSE基础 -- 数据类型_个人文章 下一篇: 手机怎么远程登录云服务器?