Qt JSON-RPC: Porovnání verzí

Z Poznámkový blok
Přejít na: navigace, hledání
(Mining)
(Wallet)
 
(Není zobrazeno 9 mezilehlých verzí od stejného uživatele.)
Řádka 42: Řádka 42:
  
 
== Network ==
 
== Network ==
addnode "node" "add|remove|onetry"
+
addnode "node" "add|remove|onetry"
clearbanned
+
clearbanned
disconnectnode "[address]" [nodeid]
+
disconnectnode "[address]" [nodeid]
getaddednodeinfo ( "node" )
+
getaddednodeinfo ( "node" )
getconnectioncount
+
getconnectioncount
getnettotals
+
getnettotals
getnetworkinfo
+
getnetworkinfo
getpeerinfo
+
getpeerinfo
listbanned
+
listbanned
ping
+
ping
setban "subnet" "add|remove" (bantime) (absolute)
+
setban "subnet" "add|remove" (bantime) (absolute)
setnetworkactive true|false
+
setnetworkactive true|false
  
 
== Rawtransactions ==
 
== Rawtransactions ==
combinerawtransaction ["hexstring",...]
+
combinerawtransaction ["hexstring",...]
createrawtransaction [{"txid":"id","vout":n},...] {"address":amount,"data":"hex",...} ( locktime ) ( replaceable )
+
createrawtransaction [{"txid":"id","vout":n},...] {"address":amount,"data":"hex",...} ( locktime ) ( replaceable )
decoderawtransaction "hexstring" ( iswitness )
+
decoderawtransaction "hexstring" ( iswitness )
decodescript "hexstring"
+
decodescript "hexstring"
fundrawtransaction "hexstring" ( options iswitness )
+
fundrawtransaction "hexstring" ( options iswitness )
getrawtransaction "txid" ( verbose "blockhash" )
+
getrawtransaction "txid" ( verbose "blockhash" )
sendrawtransaction "hexstring" ( allowhighfees )
+
sendrawtransaction "hexstring" ( allowhighfees )
signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
+
signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
  
 
== Util ==
 
== Util ==
createmultisig nrequired ["key",...]
+
createmultisig nrequired ["key",...]
estimatefee nblocks
+
estimatefee nblocks
estimatesmartfee conf_target ("estimate_mode")
+
estimatesmartfee conf_target ("estimate_mode")
signmessagewithprivkey "privkey" "message"
+
signmessagewithprivkey "privkey" "message"
validateaddress "address"
+
validateaddress "address"
verifymessage "address" "signature" "message"
+
verifymessage "address" "signature" "message"
  
== Wallet ==
+
== Wallet ==
abandontransaction "txid"
+
[[JSON-RPC_abandontransaction|abandontransaction "txid"]]
abortrescan
+
[[JSON-RPC_abortrescan|abortrescan]]
addmultisigaddress nrequired ["key",...] ( "account" "address_type" )
+
[[JSON-RPC_addmultisigaddress|addmultisigaddress nrequired ["key",...] ( "account" "address_type" )]]
backupwallet "destination"
+
[[JSON-RPC_backupwallet|backupwallet "destination"]]
bumpfee "txid" ( options )  
+
[[JSON-RPC_bumpfee|bumpfee "txid" ( options )]]
dumpprivkey "address"
+
[[JSON-RPC_dumpprivkey|dumpprivkey "address"]]
dumpwallet "filename"
+
[[JSON-RPC_dumpwallet|dumpwallet "filename"]]
encryptwallet "passphrase"
+
[[JSON-RPC_encryptwallet|encryptwallet "passphrase"]]
getaccount "address"
+
[[JSON-RPC_getaccount|getaccount "address"]] - old
getaccountaddress "account"
+
[[JSON-RPC_getaccountaddress|getaccountaddress "account"]] - old
getaddressesbyaccount "account"
+
[[JSON-RPC_getaddressesbyaccount|getaddressesbyaccount "account"]] - old
getbalance ( "account" minconf include_watchonly )
+
[[JSON-RPC_getbalance|getbalance ( "account" minconf include_watchonly )]]
getnewaddress ( "account" "address_type" )
+
[[JSON-RPC_getnewaddress|getnewaddress ( "account" "address_type" )]]
getrawchangeaddress ( "address_type" )
+
[[JSON-RPC_getrawchangeaddress|getrawchangeaddress ( "address_type" )]]
getreceivedbyaccount "account" ( minconf )
+
[[JSON-RPC_getreceivedbyaccount|getreceivedbyaccount "account" ( minconf )]]
getreceivedbyaddress "address" ( minconf )
+
[[JSON-RPC_getreceivedbyaddress|getreceivedbyaddress "address" ( minconf )]]
gettransaction "txid" ( include_watchonly )
+
[[JSON-RPC_gettransaction|gettransaction "txid" ( include_watchonly )]]
getunconfirmedbalance
+
[[JSON-RPC_getunconfirmedbalance|getunconfirmedbalance]]
getwalletinfo
+
[[JSON-RPC_getwalletinfo|getwalletinfo]]
importaddress "address" ( "label" rescan p2sh )
+
[[JSON-RPC_importaddress|importaddress "address" ( "label" rescan p2sh )]]
importmulti "requests" ( "options" )
+
[[JSON-RPC_importmulti|importmulti "requests" ( "options" )]]
importprivkey "privkey" ( "label" ) ( rescan )
+
[[JSON-RPC_importprivkey|importprivkey "privkey" ( "label" ) ( rescan )]]
importprunedfunds
+
[[JSON-RPC_importprunedfunds|importprunedfunds]]
importpubkey "pubkey" ( "label" rescan )
+
[[JSON-RPC_importpubkey|importpubkey "pubkey" ( "label" rescan )]]
importwallet "filename"
+
[[JSON-RPC_importwallet|importwallet "filename"]]
keypoolrefill ( newsize )
+
[[JSON-RPC_keypoolrefill|keypoolrefill ( newsize )]]
listaccounts ( minconf include_watchonly)
+
[[JSON-RPC_listaccounts|listaccounts ( minconf include_watchonly)]] - old
listaddressgroupings
+
[[JSON-RPC_listaddressgroupings|listaddressgroupings]]
listlockunspent
+
[[JSON-RPC_listlockunspent|listlockunspent]]
listreceivedbyaccount ( minconf include_empty include_watchonly)
+
[[JSON-RPC_listreceivedbyaccount|listreceivedbyaccount ( minconf include_empty include_watchonly)]]
listreceivedbyaddress ( minconf include_empty include_watchonly)
+
[[JSON-RPC_listreceivedbyaddress|listreceivedbyaddress ( minconf include_empty include_watchonly)]]
listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed )
+
[[JSON-RPC_listsinceblock|listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed )]]
listtransactions ( "account" count skip include_watchonly)
+
[[JSON-RPC_listtransactions|listtransactions ( "account" count skip include_watchonly)]]
listunspent ( minconf maxconf  ["addresses",...] [include_unsafe] [query_options])
+
[[JSON-RPC_listunspent|listunspent ( minconf maxconf  ["addresses",...] [include_unsafe] [query_options])]]
listwallets
+
[[JSON-RPC_listwallets|listwallets]]
lockunspent unlock ([{"txid":"txid","vout":n},...])
+
[[JSON-RPC_lockunspent|lockunspent unlock ([{"txid":"txid","vout":n},...])]]
move "fromaccount" "toaccount" amount ( minconf "comment" )
+
[[JSON-RPC_move|move "fromaccount" "toaccount" amount ( minconf "comment" )]] - old
removeprunedfunds "txid"
+
[[JSON-RPC_removeprunedfunds|removeprunedfunds "txid"]]
rescanblockchain ("start_height") ("stop_height")
+
[[JSON-RPC_rescanblockchain|rescanblockchain ("start_height") ("stop_height")]]
sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" )
+
[[JSON-RPC_sendfrom|sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" )]] - old
sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode")
+
[[JSON-RPC_sendmany|sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode")]]
sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
+
[[JSON-RPC_sendtoaddress|sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")]]
setaccount "address" "account"
+
[[JSON-RPC_setaccount|setaccount "address" "account"]]
settxfee amount
+
[[JSON-RPC_settxfee|settxfee amount]]
signmessage "address" "message"
+
[[JSON-RPC_signmessage|signmessage "address" "message"]]
walletlock
+
[[JSON-RPC_walletlock|walletlock]]
walletpassphrase "passphrase" timeout
+
[[JSON-RPC_walletpassphrase|walletpassphrase "passphrase" timeout]]
walletpassphrasechange "oldpassphrase" "newpassphrase"
+
[[JSON-RPC_walletpassphrasechange|walletpassphrasechange "oldpassphrase" "newpassphrase"]]

Aktuální verze z 29. 12. 2018, 23:34

Blockchain

getbestblockhash
getblock "blockhash" ( verbosity ) 
getblockchaininfo
getblockcount
getblockhash height
getblockheader "hash" ( verbose )
getchaintips
getchaintxstats ( nblocks blockhash )
getdifficulty
getmempoolancestors txid (verbose)
getmempooldescendants txid (verbose)
getmempoolentry txid
getmempoolinfo
getrawmempool ( verbose )
gettxout "txid" n ( include_mempool )
gettxoutproof ["txid",...] ( blockhash )
gettxoutsetinfo
preciousblock "blockhash"
pruneblockchain
savemempool
verifychain ( checklevel nblocks )
verifytxoutproof "proof"

Control

getmemoryinfo ("mode")
help ( "command" )
logging (   )
stop
uptime

Generating

generate nblocks ( maxtries )
generatetoaddress nblocks address (maxtries)

Mining

getblocktemplate ( TemplateRequest )
getmininginfo
getnetworkhashps ( nblocks height )
prioritisetransaction   
submitblock "hexdata"  ( "dummy" )

Network

addnode "node" "add|remove|onetry"
clearbanned
disconnectnode "[address]" [nodeid]
getaddednodeinfo ( "node" )
getconnectioncount
getnettotals
getnetworkinfo
getpeerinfo
listbanned
ping
setban "subnet" "add|remove" (bantime) (absolute)
setnetworkactive true|false

Rawtransactions

combinerawtransaction ["hexstring",...]
createrawtransaction [{"txid":"id","vout":n},...] {"address":amount,"data":"hex",...} ( locktime ) ( replaceable )
decoderawtransaction "hexstring" ( iswitness )
decodescript "hexstring"
fundrawtransaction "hexstring" ( options iswitness )
getrawtransaction "txid" ( verbose "blockhash" )
sendrawtransaction "hexstring" ( allowhighfees )
signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )

Util

createmultisig nrequired ["key",...]
estimatefee nblocks
estimatesmartfee conf_target ("estimate_mode")
signmessagewithprivkey "privkey" "message"
validateaddress "address"
verifymessage "address" "signature" "message"

Wallet

abandontransaction "txid"
abortrescan
addmultisigaddress nrequired ["key",...] ( "account" "address_type" )
backupwallet "destination"
bumpfee "txid" ( options )
dumpprivkey "address"
dumpwallet "filename"
encryptwallet "passphrase"
getaccount "address" - old
getaccountaddress "account" - old
getaddressesbyaccount "account" - old
getbalance ( "account" minconf include_watchonly )
getnewaddress ( "account" "address_type" )
getrawchangeaddress ( "address_type" )
getreceivedbyaccount "account" ( minconf )
getreceivedbyaddress "address" ( minconf )
gettransaction "txid" ( include_watchonly )
getunconfirmedbalance
getwalletinfo
importaddress "address" ( "label" rescan p2sh )
importmulti "requests" ( "options" )
importprivkey "privkey" ( "label" ) ( rescan )
importprunedfunds
importpubkey "pubkey" ( "label" rescan )
importwallet "filename"
keypoolrefill ( newsize )
listaccounts ( minconf include_watchonly) - old
listaddressgroupings
listlockunspent
listreceivedbyaccount ( minconf include_empty include_watchonly)
listreceivedbyaddress ( minconf include_empty include_watchonly)
listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed )
listtransactions ( "account" count skip include_watchonly)
listunspent ( minconf maxconf  ["addresses",...] [include_unsafe] [query_options])
listwallets
lockunspent unlock ([{"txid":"txid","vout":n},...])
move "fromaccount" "toaccount" amount ( minconf "comment" ) - old
removeprunedfunds "txid"
rescanblockchain ("start_height") ("stop_height")
sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" ) - old
sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode")
sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode")
setaccount "address" "account"
settxfee amount
signmessage "address" "message"
walletlock
walletpassphrase "passphrase" timeout
walletpassphrasechange "oldpassphrase" "newpassphrase"