BTCbtcoincli使用

40次阅读

共计 700 个字符,预计需要花费 2 分钟才能阅读完成。

json-rpc api

钱包

btcoin-cli -conf='xx' getwalletinfo
btcoin-cli -conf='xx' walletpassphrase "passphrase" timeout
btcoin-cli -conf='xx' walletlock
btcoin-cli -conf='xx' walletpassphrasechange "oldpassphrase" "newpassphrase"
btcoin-cli -conf='xx' backupwallet "destination"
btcoin-cli -conf='xx' importwallet "filename"
btcoin-cli -conf='xx' dumpwallet "filename"

账户

istaccounts (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”)

正文完
 0