Qt JSON-RPC: Porovnání verzí
Z Poznámkový blok
(→Util) |
(→Wallet) |
||
Řádka 74: | Řádka 74: | ||
== Wallet == | == Wallet == | ||
− | abandontransaction "txid" | + | abandontransaction "txid" |
− | abortrescan | + | abortrescan |
− | addmultisigaddress nrequired ["key",...] ( "account" "address_type" ) | + | addmultisigaddress nrequired ["key",...] ( "account" "address_type" ) |
− | backupwallet "destination" | + | backupwallet "destination" |
− | bumpfee "txid" ( options ) | + | bumpfee "txid" ( options ) |
− | dumpprivkey "address" | + | dumpprivkey "address" |
− | dumpwallet "filename" | + | dumpwallet "filename" |
− | encryptwallet "passphrase" | + | encryptwallet "passphrase" |
− | getaccount "address" | + | getaccount "address" |
− | getaccountaddress "account" | + | getaccountaddress "account" |
− | getaddressesbyaccount "account" | + | getaddressesbyaccount "account" |
− | getbalance ( "account" minconf include_watchonly ) | + | getbalance ( "account" minconf include_watchonly ) |
− | getnewaddress ( "account" "address_type" ) | + | getnewaddress ( "account" "address_type" ) |
− | getrawchangeaddress ( "address_type" ) | + | getrawchangeaddress ( "address_type" ) |
− | getreceivedbyaccount "account" ( minconf ) | + | getreceivedbyaccount "account" ( minconf ) |
− | getreceivedbyaddress "address" ( minconf ) | + | getreceivedbyaddress "address" ( minconf ) |
− | gettransaction "txid" ( include_watchonly ) | + | gettransaction "txid" ( include_watchonly ) |
− | getunconfirmedbalance | + | getunconfirmedbalance |
− | getwalletinfo | + | getwalletinfo |
− | importaddress "address" ( "label" rescan p2sh ) | + | importaddress "address" ( "label" rescan p2sh ) |
− | importmulti "requests" ( "options" ) | + | importmulti "requests" ( "options" ) |
− | importprivkey "privkey" ( "label" ) ( rescan ) | + | importprivkey "privkey" ( "label" ) ( rescan ) |
− | importprunedfunds | + | importprunedfunds |
− | importpubkey "pubkey" ( "label" rescan ) | + | importpubkey "pubkey" ( "label" rescan ) |
− | importwallet "filename" | + | importwallet "filename" |
− | keypoolrefill ( newsize ) | + | keypoolrefill ( newsize ) |
− | listaccounts ( minconf include_watchonly) | + | listaccounts ( minconf include_watchonly) |
− | listaddressgroupings | + | listaddressgroupings |
− | listlockunspent | + | listlockunspent |
− | listreceivedbyaccount ( minconf include_empty include_watchonly) | + | listreceivedbyaccount ( minconf include_empty include_watchonly) |
− | listreceivedbyaddress ( minconf include_empty include_watchonly) | + | listreceivedbyaddress ( minconf include_empty include_watchonly) |
− | listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed ) | + | listsinceblock ( "blockhash" target_confirmations include_watchonly include_removed ) |
− | listtransactions ( "account" count skip include_watchonly) | + | listtransactions ( "account" count skip include_watchonly) |
− | listunspent ( minconf maxconf ["addresses",...] [include_unsafe] [query_options]) | + | listunspent ( minconf maxconf ["addresses",...] [include_unsafe] [query_options]) |
− | listwallets | + | listwallets |
− | lockunspent unlock ([{"txid":"txid","vout":n},...]) | + | lockunspent unlock ([{"txid":"txid","vout":n},...]) |
− | move "fromaccount" "toaccount" amount ( minconf "comment" ) | + | move "fromaccount" "toaccount" amount ( minconf "comment" ) |
− | removeprunedfunds "txid" | + | removeprunedfunds "txid" |
− | rescanblockchain ("start_height") ("stop_height") | + | rescanblockchain ("start_height") ("stop_height") |
− | sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" ) | + | sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" ) |
− | sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode") | + | sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] replaceable conf_target "estimate_mode") |
− | sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode") | + | sendtoaddress "address" amount ( "comment" "comment_to" subtractfeefromamount replaceable conf_target "estimate_mode") |
− | setaccount "address" "account" | + | setaccount "address" "account" |
− | settxfee amount | + | settxfee amount |
− | signmessage "address" "message" | + | signmessage "address" "message" |
− | walletlock | + | walletlock |
− | walletpassphrase "passphrase" timeout | + | walletpassphrase "passphrase" timeout |
− | walletpassphrasechange "oldpassphrase" "newpassphrase" | + | walletpassphrasechange "oldpassphrase" "newpassphrase" |
Verze z 29. 12. 2018, 17:44
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" getaccountaddress "account" getaddressesbyaccount "account" 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) 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" ) removeprunedfunds "txid" rescanblockchain ("start_height") ("stop_height") sendfrom "fromaccount" "toaddress" amount ( minconf "comment" "comment_to" ) 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"