• Slide 1 Title

    Go to Blogger edit html and replace these slide 1 description with your own words. ...

  • Slide 2 Title

    Go to Blogger edit html and replace these slide 2 description with your own words. ...

  • Slide 3 Title

    Go to Blogger edit html and replace these slide 3 description with your own words. ...

  • Slide 4 Title

    Go to Blogger edit html and replace these slide 4 description with your own words. ...

  • Slide 5 Title

    Go to Blogger edit html and replace these slide 5 description with your own words. ...

2018年3月9日星期五

ZCASH COMMANDS


== Control ==
getinfo
help ( "command" )
stop

== Generating ==
generate numblocks
getgenerate
setgenerate generate ( genproclimit )

== Mining ==
getblocksubsidy height
getblocktemplate ( "jsonrequestobject" )
getlocalsolps
getmininginfo
getnetworkhashps ( blocks height )
getnetworksolps ( blocks height )
prioritisetransaction <txid> <priority delta> <fee delta>
submitblock "hexdata" ( "jsonparametersobject" )

== Network ==
addnode "node" "add|remove|onetry"
clearbanned
disconnectnode "node"
getaddednodeinfo dns ( "node" )
getconnectioncount
getnettotals
getnetworkinfo
getpeerinfo
listbanned
ping
setban "ip(/netmask)" "add|remove" (bantime) (absolute)

== Rawtransactions ==
createrawtransaction [{"txid":"id","vout":n},...] {"address":amount,...}
decoderawtransaction "hexstring"
decodescript "hex"
fundrawtransaction "hexstring"
getrawtransaction "txid" ( verbose )
sendrawtransaction "hexstring" ( allowhighfees )
signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","re                deemScript":"hex"},...] ["privatekey1",...] sighashtype )

== Util ==
createmultisig nrequired ["key",...]
estimatefee nblocks
estimatepriority nblocks
validateaddress "bitcoinaddress"
verifymessage "bitcoinaddress" "signature" "message"
z_validateaddress "zaddr"

== Wallet ==
addmultisigaddress nrequired ["key",...] ( "account" )
backupwallet "destination"
dumpprivkey "btcpaddress"
dumpwallet "filename"
encryptwallet "passphrase"
getaccount "btcpaddress"
getaccountaddress "account"
getaddressesbyaccount "account"
getbalance ( "account" minconf includeWatchonly )
getnewaddress ( "account" )
getrawchangeaddress
getreceivedbyaccount "account" ( minconf )
getreceivedbyaddress "btcpaddress" ( minconf )
gettransaction "txid" ( includeWatchonly )
getunconfirmedbalance
getwalletinfo
importaddress "address" ( "label" rescan )
importprivkey "btcpprivkey" ( "label" rescan )
importwallet "filename"
keypoolrefill ( newsize )
listaccounts ( minconf includeWatchonly)
listaddressgroupings
listlockunspent
listreceivedbyaccount ( minconf includeempty includeWatchonly)
listreceivedbyaddress ( minconf includeempty includeWatchonly)
用法:
 listreceivedbyaddress 0 true
返回:
[
  {
    "address": "b1BPoPm1LgUbHtJVxyhaXXXXXXXXXXX",
    "account": "",
    "amount": 0.00000000,
    "confirmations": 0,
    "txids": [
    ]
  },
  {
    "address": "b1GmBQGxaPbCTrDe..................................",
    "account": "",
    "amount": X.XXXXXXX,
    "confirmations": XXXX,
    "txids": [
      "d44fc4fbba1bba7542b599fa6ba2fe81672266d..................................",
      "c42dda2b5f3b6435a242266b0d5937e59ae2be..................................",
      "386eda928fa79ac677cd9e585b76c6683f2159..................................",
      "920d2a5cfce98fd9eb0e5aee7302d95074db50..................................",
      "09eeed2abb6b23f5a097b5ac3dec78a70df491..................................",
      "e2988273ace17c31acf48e2bf1466ec15018c9..................................",
      "8ed64e2a0b5ace9e34d03eb280d4b43155222e..................................",
      "1b1bcd37f5de6a6a58a967b1570c6584c952..................................",
      "b23b277de8880da9371317638be6cbc20baaa..................................",
      "059ee57cd0f0b790ba831dbbce8f57c42d3e0.................................."
    ]
  }
]


listsinceblock ( "blockhash" target-confirmations includeWatchonly)
listtransactions ( "account" count from includeWatchonly)
listunspent ( minconf maxconf  ["address",...] )
lockunspent unlock [{"txid":"txid","vout":n},...]
move "fromaccount" "toaccount" amount ( minconf "comment" )
sendfrom "fromaccount" "tobtcpaddress" amount ( minconf "comment" "comment-to" )
sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...                ] )
sendtoaddress "btcpaddress" amount ( "comment" "comment-to" subtractfeefromamoun                t )
setaccount "btcpaddress" "account"
settxfee amount
signmessage "btcpaddress" "message"
z_exportkey "zaddr"
z_exportwallet "filename"
z_getbalance "address" ( minconf )
z_getnewaddress
z_getoperationresult (["operationid", ... ])
z_getoperationstatus (["operationid", ... ])
z_gettotalbalance ( minconf )
z_importkey "zkey" ( rescan startHeight )
z_importwallet "filename"
z_listaddresses
z_listoperationids
z_listreceivedbyaddress "address" ( minconf )
z_sendmany "fromaddress" [{"address":... ,"amount":...},...] ( minconf ) ( fee )
用法:
TADDR='輸入你的發送地址'
DEPO='輸入對方收款地址'
#檢查多一次地址
echo $TADDR
echo $DEPO
z_sendmany "$TADDR" "[{\"address\": \"$DEPO\", \"amount\": 1.873}]"
返回信息:
opid-83c93125-b0ff-4adc-911f-183c1..........


z_shieldcoinbase "fromaddress" "tozaddress" ( fee )
zcbenchmark benchmarktype samplecount
zcrawjoinsplit rawtx inputs outputs vpub_old vpub_new
zcrawkeygen
zcrawreceive zcsecretkey encryptednote
zcsamplejoinsplit

繼續閱讀...

 
  • 聯繫本站

  • 追蹤我們