[BTC] btcoin-cli

Time:2019-10-7

json-rpc api

wallet

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"

account

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

Recommended Today

Using PHP to develop HR system (5)

    This section describes how to split pages and usejqueryandajaxLocal refresh。 ================================================================================================== From our page, the menu on the left is unchanged, and the content area on the right changes according to different menus, so we wonder whether we can only focus on For local refresh on the right, you can use ajaxTechnology to […]