Advertisement
Guest User

Untitled

a guest
Oct 28th, 2016
1,872
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. # Zcash RPC Commands
  2.  
  3. Base command: `./src/zcash-cli [command]`
  4.  
  5. ### Rawtransactions
  6. createrawtransaction [{"txid":"id","vout":n},...] {"address":amount,...}
  7. decoderawtransaction "hexstring"
  8. decodescript "hex"
  9. getrawtransaction "txid" ( verbose )
  10. sendrawtransaction "hexstring" ( allowhighfees )
  11. signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
  12.  
  13. ### Util
  14. createmultisig nrequired ["key",...]
  15. estimatefee nblocks
  16. estimatepriority nblocks
  17. validateaddress "bitcoinaddress"
  18. verifymessage "bitcoinaddress" "signature" "message"
  19.  
  20. ### Wallet
  21. addmultisigaddress nrequired ["key",...] ( "account" )
  22. backupwallet "destination"
  23. dumpprivkey "zcashaddress"
  24. dumpwallet "filename"
  25. encryptwallet "passphrase"
  26. getaccount "zcashaddress"
  27. getaccountaddress "account"
  28. getaddressesbyaccount "account"
  29. getbalance ( "account" minconf includeWatchonly )
  30. getnewaddress ( "account" )
  31. getrawchangeaddress
  32. getreceivedbyaccount "account" ( minconf )
  33. getreceivedbyaddress "zcashaddress" ( minconf )
  34. gettransaction "txid" ( includeWatchonly )
  35. getunconfirmedbalance
  36. getwalletinfo
  37. importaddress "address" ( "label" rescan )
  38. importprivkey "zcashprivkey" ( "label" rescan )
  39. importwallet "filename"
  40. keypoolrefill ( newsize )
  41. listaccounts ( minconf includeWatchonly)
  42. listaddressgroupings
  43. listlockunspent
  44. listreceivedbyaccount ( minconf includeempty includeWatchonly)
  45. listreceivedbyaddress ( minconf includeempty includeWatchonly)
  46. listsinceblock ( "blockhash" target-confirmations includeWatchonly)
  47. listtransactions ( "account" count from includeWatchonly)
  48. listunspent ( minconf maxconf ["address",...] )
  49. lockunspent unlock [{"txid":"txid","vout":n},...]
  50. move "fromaccount" "toaccount" amount ( minconf "comment" )
  51. sendfrom "fromaccount" "tozcashaddress" amount ( minconf "comment" "comment-to" )
  52. sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] )
  53. sendtoaddress "zcashaddress" amount ( "comment" "comment-to" subtractfeefromamount )
  54. setaccount "zcashaddress" "account"
  55. settxfee amount
  56. signmessage "zcashaddress" "message"
  57. z_exportkey "zaddr"
  58. z_exportwallet "filename"
  59. z_getbalance "address" ( minconf )
  60. z_getnewaddress
  61. z_getoperationresult (["operationid", ... ])
  62. z_getoperationstatus (["operationid", ... ])
  63. z_gettotalbalance ( minconf )
  64. z_importkey "zkey" ( rescan )
  65. z_importwallet "filename"
  66. z_listaddresses
  67. z_listoperationids
  68. z_listreceivedbyaddress "address" ( minconf )
  69. z_sendmany "fromaddress" [{"address":... ,"amount":...},...] ( minconf )
  70. zcbenchmark benchmarktype samplecount
  71. zcrawjoinsplit rawtx inputs outputs vpub_old vpub_new
  72. zcrawkeygen
  73. zcrawreceive zcsecretkey encryptednote
  74. zcsamplejoinsplit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement