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


jincheng828
49 声望9 粉丝

在奔向财富自由的路上...