如何使用bitcoin-cli命令进行转账操作?

2026-05-29 10:313阅读0评论SEO教程
  • 内容介绍
  • 文章标签
  • 相关推荐

本文共计602个文字,预计阅读时间需要3分钟。

如何使用bitcoin-cli命令进行转账操作?

%E2%80%9C%E5%8A%A0%E5%85%A5%E5%91%BD%E4%BB%A4%EF%BC%8C%E6%94%AF%E6%8C%81%EF%BC%9A%E5%81%9C%E6%AD%A2%EF%BC%8C%E8%8E%B7%E5%8F%96%E4%BF%A1%E6%81%AF%EF%BC%8C%E6%89%AB%E7%BD%B2%EF%BC%8C%E8%8E%B7%E5%8F%96%E7%BD%91%E7%BB%9C%E6%80%BB%E6%95%B0%E6%8D%AE%EF%BC%8C%E8%8E%B7%E5%8F%96%E7%BD%91%E7%BB%9C%E4%BF%A1%E6%81%AF%EF%BC%8C%E8%8E%B7%E5%8F%96%E5%AF%B9%E6%89%8B%E4%BF%A1%E6%81%AF%EF%BC%8C%E8%8E%B7%E5%8F%96%E8%BF%9E%E6%8E%A5%E6%95%B0%EF%BC%8C%E9%AA%8C%E8%AF%81%E9%93%BE%E6%9D%A5%EF%BC%8C%E6%9F%A5%E7%9C%8B%E9%93%BE%E6%AC%A1%EF%BC%8C%E8%8E%B7%E5%8F%96%E6%8F%90%E4%BE%9B%E8%8A%82%E7%82%B9%E4%BF%A1%E6%81%AF%EF%BC%8CDNS%EF%BC%8C%E6%B7%BB%E5%8A%A0%E8%8A%82%E7%82%B9%EF%BC%8C%E8%B4%A6%E6%88%B7%E3%80%81%E9%92%B1%E5%8C%85%E3%80%81%E8%BD%AC%E5%B8%90%E3%80%81%E5%8F%91%E2%80%9D%E2%80%9C%E2%80%9D

如何使用bitcoin-cli命令进行转账操作?

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" )

本文共计602个文字,预计阅读时间需要3分钟。

如何使用bitcoin-cli命令进行转账操作?

%E2%80%9C%E5%8A%A0%E5%85%A5%E5%91%BD%E4%BB%A4%EF%BC%8C%E6%94%AF%E6%8C%81%EF%BC%9A%E5%81%9C%E6%AD%A2%EF%BC%8C%E8%8E%B7%E5%8F%96%E4%BF%A1%E6%81%AF%EF%BC%8C%E6%89%AB%E7%BD%B2%EF%BC%8C%E8%8E%B7%E5%8F%96%E7%BD%91%E7%BB%9C%E6%80%BB%E6%95%B0%E6%8D%AE%EF%BC%8C%E8%8E%B7%E5%8F%96%E7%BD%91%E7%BB%9C%E4%BF%A1%E6%81%AF%EF%BC%8C%E8%8E%B7%E5%8F%96%E5%AF%B9%E6%89%8B%E4%BF%A1%E6%81%AF%EF%BC%8C%E8%8E%B7%E5%8F%96%E8%BF%9E%E6%8E%A5%E6%95%B0%EF%BC%8C%E9%AA%8C%E8%AF%81%E9%93%BE%E6%9D%A5%EF%BC%8C%E6%9F%A5%E7%9C%8B%E9%93%BE%E6%AC%A1%EF%BC%8C%E8%8E%B7%E5%8F%96%E6%8F%90%E4%BE%9B%E8%8A%82%E7%82%B9%E4%BF%A1%E6%81%AF%EF%BC%8CDNS%EF%BC%8C%E6%B7%BB%E5%8A%A0%E8%8A%82%E7%82%B9%EF%BC%8C%E8%B4%A6%E6%88%B7%E3%80%81%E9%92%B1%E5%8C%85%E3%80%81%E8%BD%AC%E5%B8%90%E3%80%81%E5%8F%91%E2%80%9D%E2%80%9C%E2%80%9D

如何使用bitcoin-cli命令进行转账操作?

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" )