From 2d94ff94fe7d540b289dea2b6e8fd71bed4c8f88 Mon Sep 17 00:00:00 2001 From: Gareth Davies Date: Sat, 25 Apr 2020 20:51:11 -0700 Subject: [PATCH] Update to v2.1.2 --- addmultisigaddress.html | 11 +- addnode.html | 11 +- backupwallet.html | 13 +- clearbanned.html | 11 +- createmultisig.html | 11 +- createrawtransaction.html | 11 +- decoderawtransaction.html | 11 +- decodescript.html | 11 +- disconnectnode.html | 11 +- dumpprivkey.html | 11 +- dumpwallet.html | 11 +- encryptwallet.html | 11 +- estimatefee.html | 11 +- estimatepriority.html | 11 +- fundrawtransaction.html | 19 +- generate.html | 13 +- getaccount.html | 11 +- getaccountaddress.html | 11 +- getaddednodeinfo.html | 11 +- getaddressbalance.html | 11 +- getaddressdeltas.html | 11 +- getaddressesbyaccount.html | 11 +- getaddressmempool.html | 11 +- getaddresstxids.html | 11 +- getaddressutxos.html | 11 +- getbalance.html | 11 +- getbestblockhash.html | 11 +- getblock.html | 11 +- getblockchaininfo.html | 11 +- getblockcount.html | 11 +- getblockdeltas.html | 11 +- getblockhash.html | 11 +- getblockhashes.html | 11 +- getblockheader.html | 11 +- getblocksubsidy.html | 11 +- getblocktemplate.html | 11 +- getchaintips.html | 11 +- getconnectioncount.html | 11 +- getdeprecationinfo.html | 11 +- getdifficulty.html | 11 +- getgenerate.html | 11 +- getinfo.html | 11 +- getlocalsolps.html | 11 +- getmempoolinfo.html | 11 +- getmininginfo.html | 11 +- getnettotals.html | 11 +- getnetworkhashps.html | 11 +- getnetworkinfo.html | 11 +- getnetworksolps.html | 11 +- getnewaddress.html | 11 +- getpeerinfo.html | 11 +- getrawchangeaddress.html | 11 +- getrawmempool.html | 11 +- getrawtransaction.html | 11 +- getreceivedbyaccount.html | 11 +- getreceivedbyaddress.html | 11 +- getspentinfo.html | 15 +- gettransaction.html | 11 +- gettxout.html | 11 +- gettxoutproof.html | 11 +- gettxoutsetinfo.html | 11 +- getunconfirmedbalance.html | 11 +- getwalletinfo.html | 17 +- help.html | 11 +- importaddress.html | 30 +- importprivkey.html | 11 +- importpubkey.html | 553 +++++++++++++++++++++++++++++++ importwallet.html | 11 +- index.html | 11 +- keypoolrefill.html | 11 +- listaccounts.html | 11 +- listaddressgroupings.html | 11 +- listbanned.html | 11 +- listlockunspent.html | 11 +- listreceivedbyaccount.html | 11 +- listreceivedbyaddress.html | 11 +- listsinceblock.html | 11 +- listtransactions.html | 11 +- listunspent.html | 11 +- lockunspent.html | 11 +- move.html | 11 +- ping.html | 11 +- prioritisetransaction.html | 11 +- script/template.html | 8 +- sendfrom.html | 11 +- sendmany.html | 11 +- sendrawtransaction.html | 11 +- sendtoaddress.html | 11 +- setaccount.html | 11 +- setban.html | 11 +- setgenerate.html | 11 +- settxfee.html | 13 +- signmessage.html | 11 +- signrawtransaction.html | 11 +- stop.html | 11 +- submitblock.html | 11 +- validateaddress.html | 11 +- verifychain.html | 11 +- verifymessage.html | 11 +- verifytxoutproof.html | 11 +- z_exportkey.html | 11 +- z_exportviewingkey.html | 11 +- z_exportwallet.html | 11 +- z_getbalance.html | 11 +- z_getmigrationstatus.html | 11 +- z_getnewaddress.html | 11 +- z_getoperationresult.html | 11 +- z_getoperationstatus.html | 11 +- z_getpaymentdisclosure.html | 11 +- z_gettotalbalance.html | 11 +- z_importkey.html | 11 +- z_importviewingkey.html | 11 +- z_importwallet.html | 11 +- z_listaddresses.html | 11 +- z_listoperationids.html | 11 +- z_listreceivedbyaddress.html | 11 +- z_listunspent.html | 11 +- z_mergetoaddress.html | 25 +- z_sendmany.html | 11 +- z_setmigration.html | 11 +- z_shieldcoinbase.html | 16 +- z_validateaddress.html | 11 +- z_validatepaymentdisclosure.html | 11 +- zcbenchmark.html | 11 +- zcrawjoinsplit.html | 11 +- zcrawkeygen.html | 11 +- zcrawreceive.html | 11 +- zcsamplejoinsplit.html | 11 +- 128 files changed, 1469 insertions(+), 540 deletions(-) create mode 100644 importpubkey.html diff --git a/addmultisigaddress.html b/addmultisigaddress.html index d3c8db0..67f52c4 100644 --- a/addmultisigaddress.html +++ b/addmultisigaddress.html @@ -3,10 +3,10 @@ - + - addmultisigaddress - Zcash 2.0.7 RPC Docs + addmultisigaddress - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

addmultisigaddress - Zcash 2.0.7 RPC

+

addmultisigaddress - Zcash 2.1.2 RPC

addmultisigaddress nrequired ["key",...] ( "account" )
 
@@ -414,6 +414,9 @@ As json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/addnode.html b/addnode.html index 80d659f..6c25937 100644 --- a/addnode.html +++ b/addnode.html @@ -3,10 +3,10 @@ - + - addnode - Zcash 2.0.7 RPC Docs + addnode - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

addnode - Zcash 2.0.7 RPC

+

addnode - Zcash 2.1.2 RPC

addnode "node" "add|remove|onetry"
 
@@ -401,6 +401,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/backupwallet.html b/backupwallet.html index 40f3561..c1b42fb 100644 --- a/backupwallet.html +++ b/backupwallet.html @@ -3,10 +3,10 @@ - + - backupwallet - Zcash 2.0.7 RPC Docs + backupwallet - Zcash 2.1.2 RPC Docs @@ -25,18 +25,18 @@
-

backupwallet - Zcash 2.0.7 RPC

+

backupwallet - Zcash 2.1.2 RPC

backupwallet "destination"
 
-Safely copies wallet.dat to destination filename
+Safely copies current wallet file to destination filename
 
 Arguments:
 1. "destination"   (string, required) The destination filename, saved in the directory set by -exportdir option.
@@ -402,6 +402,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/clearbanned.html b/clearbanned.html index 17f3638..00ce874 100644 --- a/clearbanned.html +++ b/clearbanned.html @@ -3,10 +3,10 @@ - + - clearbanned - Zcash 2.0.7 RPC Docs + clearbanned - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

clearbanned - Zcash 2.0.7 RPC

+

clearbanned - Zcash 2.1.2 RPC

clearbanned
 
@@ -396,6 +396,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/createmultisig.html b/createmultisig.html index 02da8f6..bd67da4 100644 --- a/createmultisig.html +++ b/createmultisig.html @@ -3,10 +3,10 @@ - + - createmultisig - Zcash 2.0.7 RPC Docs + createmultisig - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

createmultisig - Zcash 2.0.7 RPC

+

createmultisig - Zcash 2.1.2 RPC

createmultisig nrequired ["key",...]
 
@@ -415,6 +415,9 @@ As a json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/createrawtransaction.html b/createrawtransaction.html index ca922ee..c034a40 100644 --- a/createrawtransaction.html +++ b/createrawtransaction.html @@ -3,10 +3,10 @@ - + - createrawtransaction - Zcash 2.0.7 RPC Docs + createrawtransaction - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

createrawtransaction - Zcash 2.0.7 RPC

+

createrawtransaction - Zcash 2.1.2 RPC

createrawtransaction [{"txid":"id","vout":n},...] {"address":amount,...} ( locktime ) ( expiryheight )
 
@@ -420,6 +420,9 @@ Examples
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/decoderawtransaction.html b/decoderawtransaction.html index 292871b..eeb03ec 100644 --- a/decoderawtransaction.html +++ b/decoderawtransaction.html @@ -3,10 +3,10 @@ - + - decoderawtransaction - Zcash 2.0.7 RPC Docs + decoderawtransaction - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

decoderawtransaction - Zcash 2.0.7 RPC

+

decoderawtransaction - Zcash 2.1.2 RPC

decoderawtransaction "hexstring"
 
@@ -465,6 +465,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/decodescript.html b/decodescript.html index c9b95e6..519fcd1 100644 --- a/decodescript.html +++ b/decodescript.html @@ -3,10 +3,10 @@ - + - decodescript - Zcash 2.0.7 RPC Docs + decodescript - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

decodescript - Zcash 2.0.7 RPC

+

decodescript - Zcash 2.1.2 RPC

decodescript "hex"
 
@@ -412,6 +412,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/disconnectnode.html b/disconnectnode.html index b4b6457..44faff9 100644 --- a/disconnectnode.html +++ b/disconnectnode.html @@ -3,10 +3,10 @@ - + - disconnectnode - Zcash 2.0.7 RPC Docs + disconnectnode - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

disconnectnode - Zcash 2.0.7 RPC

+

disconnectnode - Zcash 2.1.2 RPC

disconnectnode "node" 
 
@@ -399,6 +399,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/dumpprivkey.html b/dumpprivkey.html index 6be4896..453218b 100644 --- a/dumpprivkey.html +++ b/dumpprivkey.html @@ -3,10 +3,10 @@ - + - dumpprivkey - Zcash 2.0.7 RPC Docs + dumpprivkey - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

dumpprivkey - Zcash 2.0.7 RPC

+

dumpprivkey - Zcash 2.1.2 RPC

dumpprivkey "t-addr"
 
@@ -404,6 +404,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/dumpwallet.html b/dumpwallet.html index e2eecd3..97279dc 100644 --- a/dumpwallet.html +++ b/dumpwallet.html @@ -3,10 +3,10 @@ - + - dumpwallet - Zcash 2.0.7 RPC Docs + dumpwallet - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

dumpwallet - Zcash 2.0.7 RPC

+

dumpwallet - Zcash 2.1.2 RPC

dumpwallet "filename"
 
@@ -402,6 +402,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/encryptwallet.html b/encryptwallet.html index f6389fe..02fe7a5 100644 --- a/encryptwallet.html +++ b/encryptwallet.html @@ -3,10 +3,10 @@ - + - encryptwallet - Zcash 2.0.7 RPC Docs + encryptwallet - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

encryptwallet - Zcash 2.0.7 RPC

+

encryptwallet - Zcash 2.1.2 RPC

encryptwallet "passphrase"
 
@@ -425,6 +425,9 @@ As a json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/estimatefee.html b/estimatefee.html index 92120bd..3b92bd8 100644 --- a/estimatefee.html +++ b/estimatefee.html @@ -3,10 +3,10 @@ - + - estimatefee - Zcash 2.0.7 RPC Docs + estimatefee - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

estimatefee - Zcash 2.0.7 RPC

+

estimatefee - Zcash 2.1.2 RPC

estimatefee nblocks
 
@@ -406,6 +406,9 @@ Example:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/estimatepriority.html b/estimatepriority.html index a314003..f14034e 100644 --- a/estimatepriority.html +++ b/estimatepriority.html @@ -3,10 +3,10 @@ - + - estimatepriority - Zcash 2.0.7 RPC Docs + estimatepriority - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

estimatepriority - Zcash 2.0.7 RPC

+

estimatepriority - Zcash 2.1.2 RPC

estimatepriority nblocks
 
@@ -406,6 +406,9 @@ Example:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/fundrawtransaction.html b/fundrawtransaction.html index e192289..90195e8 100644 --- a/fundrawtransaction.html +++ b/fundrawtransaction.html @@ -3,10 +3,10 @@ - + - fundrawtransaction - Zcash 2.0.7 RPC Docs + fundrawtransaction - Zcash 2.1.2 RPC Docs @@ -25,24 +25,28 @@
-

fundrawtransaction - Zcash 2.0.7 RPC

+

fundrawtransaction - Zcash 2.1.2 RPC

-
fundrawtransaction "hexstring"
+            
fundrawtransaction "hexstring" includeWatching
 
 Add inputs to a transaction until it has enough in value to meet its out value.
 This will not modify existing inputs, and will add one change output to the outputs.
 Note that inputs which were signed may need to be resigned after completion since in/outputs have been added.
 The inputs added will not be signed, use signrawtransaction for that.
+Note that all existing inputs must have their previous output transaction be in the wallet.
+Note that all inputs selected must be of standard form and P2SH scripts must bein the wallet using importaddress or addmultisigaddress (to calculate fees).
+Only pay-to-pubkey, multisig, and P2SH versions thereof are currently supported for watch-only
 
 Arguments:
-1. "hexstring"    (string, required) The hex string of the raw transaction
+1. "hexstring"     (string, required) The hex string of the raw transaction
+2. includeWatching (boolean, optional, default false) Also select inputs which are watch only
 
 Result:
 {
@@ -420,6 +424,9 @@ Send the transaction
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/generate.html b/generate.html index 839e909..a718bbb 100644 --- a/generate.html +++ b/generate.html @@ -3,10 +3,10 @@ - + - generate - Zcash 2.0.7 RPC Docs + generate - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

generate - Zcash 2.0.7 RPC

+

generate - Zcash 2.1.2 RPC

generate numblocks
 
@@ -41,7 +41,7 @@ Mine blocks immediately (before the RPC call returns)
 Note: this function can only be used on the regtest network
 
 Arguments:
-1. numblocks    (numeric) How many blocks are generated immediately.
+1. numblocks    (numeric, required) How many blocks are generated immediately.
 
 Result
 [ blockhashes ]     (array) hashes of blocks generated
@@ -405,6 +405,9 @@ Generate 11 blocks
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getaccount.html b/getaccount.html index ce4e9c7..6d37b0e 100644 --- a/getaccount.html +++ b/getaccount.html @@ -3,10 +3,10 @@ - + - getaccount - Zcash 2.0.7 RPC Docs + getaccount - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getaccount - Zcash 2.0.7 RPC

+

getaccount - Zcash 2.1.2 RPC

getaccount "zcashaddress"
 
@@ -402,6 +402,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getaccountaddress.html b/getaccountaddress.html index 9cc6b73..9a9099c 100644 --- a/getaccountaddress.html +++ b/getaccountaddress.html @@ -3,10 +3,10 @@ - + - getaccountaddress - Zcash 2.0.7 RPC Docs + getaccountaddress - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getaccountaddress - Zcash 2.0.7 RPC

+

getaccountaddress - Zcash 2.1.2 RPC

getaccountaddress "account"
 
@@ -404,6 +404,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getaddednodeinfo.html b/getaddednodeinfo.html index 92b9feb..345bed9 100644 --- a/getaddednodeinfo.html +++ b/getaddednodeinfo.html @@ -3,10 +3,10 @@ - + - getaddednodeinfo - Zcash 2.0.7 RPC Docs + getaddednodeinfo - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getaddednodeinfo - Zcash 2.0.7 RPC

+

getaddednodeinfo - Zcash 2.1.2 RPC

getaddednodeinfo dns ( "node" )
 
@@ -420,6 +420,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getaddressbalance.html b/getaddressbalance.html index 857f26a..12f98e2 100644 --- a/getaddressbalance.html +++ b/getaddressbalance.html @@ -3,10 +3,10 @@ - + - getaddressbalance - Zcash 2.0.7 RPC Docs + getaddressbalance - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getaddressbalance - Zcash 2.0.7 RPC

+

getaddressbalance - Zcash 2.1.2 RPC

getaddressbalance {"addresses": ["taddr", ...]}
 
@@ -421,6 +421,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getaddressdeltas.html b/getaddressdeltas.html index 554d26b..af6a821 100644 --- a/getaddressdeltas.html +++ b/getaddressdeltas.html @@ -3,10 +3,10 @@ - + - getaddressdeltas - Zcash 2.0.7 RPC Docs + getaddressdeltas - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getaddressdeltas - Zcash 2.0.7 RPC

+

getaddressdeltas - Zcash 2.1.2 RPC

getaddressdeltas {"addresses": ["taddr", ...], ("start": n), ("end": n), ("chainInfo": true|false)}
 
@@ -458,6 +458,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getaddressesbyaccount.html b/getaddressesbyaccount.html index 653c217..cbf43bf 100644 --- a/getaddressesbyaccount.html +++ b/getaddressesbyaccount.html @@ -3,10 +3,10 @@ - + - getaddressesbyaccount - Zcash 2.0.7 RPC Docs + getaddressesbyaccount - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getaddressesbyaccount - Zcash 2.0.7 RPC

+

getaddressesbyaccount - Zcash 2.1.2 RPC

getaddressesbyaccount "account"
 
@@ -405,6 +405,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getaddressmempool.html b/getaddressmempool.html index 70b0e56..a0600b0 100644 --- a/getaddressmempool.html +++ b/getaddressmempool.html @@ -3,10 +3,10 @@ - + - getaddressmempool - Zcash 2.0.7 RPC Docs + getaddressmempool - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getaddressmempool - Zcash 2.0.7 RPC

+

getaddressmempool - Zcash 2.1.2 RPC

getaddressmempool {"addresses": ["taddr", ...]}
 
@@ -428,6 +428,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getaddresstxids.html b/getaddresstxids.html index 427106b..cc1694e 100644 --- a/getaddresstxids.html +++ b/getaddresstxids.html @@ -3,10 +3,10 @@ - + - getaddresstxids - Zcash 2.0.7 RPC Docs + getaddresstxids - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getaddresstxids - Zcash 2.0.7 RPC

+

getaddresstxids - Zcash 2.1.2 RPC

getaddresstxids {"addresses": ["taddr", ...], ("start": n), ("end": n)}
 
@@ -425,6 +425,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getaddressutxos.html b/getaddressutxos.html index 6406acc..74f928c 100644 --- a/getaddressutxos.html +++ b/getaddressutxos.html @@ -3,10 +3,10 @@ - + - getaddressutxos - Zcash 2.0.7 RPC Docs + getaddressutxos - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getaddressutxos - Zcash 2.0.7 RPC

+

getaddressutxos - Zcash 2.1.2 RPC

getaddressutxos {"addresses": ["taddr", ...], ("chainInfo": true|false)}
 
@@ -446,6 +446,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getbalance.html b/getbalance.html index f5e6ee6..1dacf52 100644 --- a/getbalance.html +++ b/getbalance.html @@ -3,10 +3,10 @@ - + - getbalance - Zcash 2.0.7 RPC Docs + getbalance - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getbalance - Zcash 2.0.7 RPC

+

getbalance - Zcash 2.1.2 RPC

getbalance ( "account" minconf includeWatchonly )
 
@@ -411,6 +411,9 @@ As a json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getbestblockhash.html b/getbestblockhash.html index da2fd2a..43bd32c 100644 --- a/getbestblockhash.html +++ b/getbestblockhash.html @@ -3,10 +3,10 @@ - + - getbestblockhash - Zcash 2.0.7 RPC Docs + getbestblockhash - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getbestblockhash - Zcash 2.0.7 RPC

+

getbestblockhash - Zcash 2.1.2 RPC

getbestblockhash
 
@@ -399,6 +399,9 @@ Examples
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getblock.html b/getblock.html index 5d22acf..b18401b 100644 --- a/getblock.html +++ b/getblock.html @@ -3,10 +3,10 @@ - + - getblock - Zcash 2.0.7 RPC Docs + getblock - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getblock - Zcash 2.0.7 RPC

+

getblock - Zcash 2.1.2 RPC

getblock "hash|height" ( verbosity )
 
@@ -437,6 +437,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getblockchaininfo.html b/getblockchaininfo.html index 6100858..306f73b 100644 --- a/getblockchaininfo.html +++ b/getblockchaininfo.html @@ -3,10 +3,10 @@ - + - getblockchaininfo - Zcash 2.0.7 RPC Docs + getblockchaininfo - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getblockchaininfo - Zcash 2.0.7 RPC

+

getblockchaininfo - Zcash 2.1.2 RPC

getblockchaininfo
 Returns an object containing various state info regarding block chain processing.
@@ -436,6 +436,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getblockcount.html b/getblockcount.html index 36064cc..2379244 100644 --- a/getblockcount.html +++ b/getblockcount.html @@ -3,10 +3,10 @@ - + - getblockcount - Zcash 2.0.7 RPC Docs + getblockcount - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getblockcount - Zcash 2.0.7 RPC

+

getblockcount - Zcash 2.1.2 RPC

getblockcount
 
@@ -399,6 +399,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getblockdeltas.html b/getblockdeltas.html index e252f00..e191e4e 100644 --- a/getblockdeltas.html +++ b/getblockdeltas.html @@ -3,10 +3,10 @@ - + - getblockdeltas - Zcash 2.0.7 RPC Docs + getblockdeltas - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getblockdeltas - Zcash 2.0.7 RPC

+

getblockdeltas - Zcash 2.1.2 RPC

getblockdeltas "blockhash"
 
@@ -447,6 +447,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getblockhash.html b/getblockhash.html index 7a0cc3b..5307928 100644 --- a/getblockhash.html +++ b/getblockhash.html @@ -3,10 +3,10 @@ - + - getblockhash - Zcash 2.0.7 RPC Docs + getblockhash - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getblockhash - Zcash 2.0.7 RPC

+

getblockhash - Zcash 2.1.2 RPC

getblockhash index
 
@@ -402,6 +402,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getblockhashes.html b/getblockhashes.html index 5d197aa..85187a4 100644 --- a/getblockhashes.html +++ b/getblockhashes.html @@ -3,10 +3,10 @@ - + - getblockhashes - Zcash 2.0.7 RPC Docs + getblockhashes - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getblockhashes - Zcash 2.0.7 RPC

+

getblockhashes - Zcash 2.1.2 RPC

getblockhashes high low ( {"noOrphans": true|false, "logicalTimes": true|false} )
 
@@ -428,6 +428,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getblockheader.html b/getblockheader.html index d3a2f3e..9546bbb 100644 --- a/getblockheader.html +++ b/getblockheader.html @@ -3,10 +3,10 @@ - + - getblockheader - Zcash 2.0.7 RPC Docs + getblockheader - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getblockheader - Zcash 2.0.7 RPC

+

getblockheader - Zcash 2.1.2 RPC

getblockheader "hash" ( verbose )
 
@@ -420,6 +420,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getblocksubsidy.html b/getblocksubsidy.html index 779a891..9fb776f 100644 --- a/getblocksubsidy.html +++ b/getblocksubsidy.html @@ -3,10 +3,10 @@ - + - getblocksubsidy - Zcash 2.0.7 RPC Docs + getblocksubsidy - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getblocksubsidy - Zcash 2.0.7 RPC

+

getblocksubsidy - Zcash 2.1.2 RPC

getblocksubsidy height
 
@@ -405,6 +405,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getblocktemplate.html b/getblocktemplate.html index fad5376..b29af8c 100644 --- a/getblocktemplate.html +++ b/getblocktemplate.html @@ -3,10 +3,10 @@ - + - getblocktemplate - Zcash 2.0.7 RPC Docs + getblocktemplate - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getblocktemplate - Zcash 2.0.7 RPC

+

getblocktemplate - Zcash 2.1.2 RPC

getblocktemplate ( "jsonrequestobject" )
 
@@ -443,6 +443,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getchaintips.html b/getchaintips.html index c006865..7052f7d 100644 --- a/getchaintips.html +++ b/getchaintips.html @@ -3,10 +3,10 @@ - + - getchaintips - Zcash 2.0.7 RPC Docs + getchaintips - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getchaintips - Zcash 2.0.7 RPC

+

getchaintips - Zcash 2.1.2 RPC

getchaintips
 Return information about all known tips in the block tree, including the main chain as well as orphaned branches.
@@ -417,6 +417,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getconnectioncount.html b/getconnectioncount.html index cae69ae..56c8373 100644 --- a/getconnectioncount.html +++ b/getconnectioncount.html @@ -3,10 +3,10 @@ - + - getconnectioncount - Zcash 2.0.7 RPC Docs + getconnectioncount - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getconnectioncount - Zcash 2.0.7 RPC

+

getconnectioncount - Zcash 2.1.2 RPC

getconnectioncount
 
@@ -399,6 +399,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getdeprecationinfo.html b/getdeprecationinfo.html index 70a0d83..689d94e 100644 --- a/getdeprecationinfo.html +++ b/getdeprecationinfo.html @@ -3,10 +3,10 @@ - + - getdeprecationinfo - Zcash 2.0.7 RPC Docs + getdeprecationinfo - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getdeprecationinfo - Zcash 2.0.7 RPC

+

getdeprecationinfo - Zcash 2.1.2 RPC

getdeprecationinfo
 Returns an object containing current version and deprecation block height. Applicable only on mainnet.
@@ -402,6 +402,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getdifficulty.html b/getdifficulty.html index 48ffc39..44a0317 100644 --- a/getdifficulty.html +++ b/getdifficulty.html @@ -3,10 +3,10 @@ - + - getdifficulty - Zcash 2.0.7 RPC Docs + getdifficulty - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getdifficulty - Zcash 2.0.7 RPC

+

getdifficulty - Zcash 2.1.2 RPC

getdifficulty
 
@@ -399,6 +399,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getgenerate.html b/getgenerate.html index 9a4a032..d909f04 100644 --- a/getgenerate.html +++ b/getgenerate.html @@ -3,10 +3,10 @@ - + - getgenerate - Zcash 2.0.7 RPC Docs + getgenerate - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getgenerate - Zcash 2.0.7 RPC

+

getgenerate - Zcash 2.1.2 RPC

getgenerate
 
@@ -401,6 +401,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getinfo.html b/getinfo.html index d9a49e2..d05e6a3 100644 --- a/getinfo.html +++ b/getinfo.html @@ -3,10 +3,10 @@ - + - getinfo - Zcash 2.0.7 RPC Docs + getinfo - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getinfo - Zcash 2.0.7 RPC

+

getinfo - Zcash 2.1.2 RPC

getinfo
 Returns an object containing various state info.
@@ -415,6 +415,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getlocalsolps.html b/getlocalsolps.html index 4dbfebf..5e9cc01 100644 --- a/getlocalsolps.html +++ b/getlocalsolps.html @@ -3,10 +3,10 @@ - + - getlocalsolps - Zcash 2.0.7 RPC Docs + getlocalsolps - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getlocalsolps - Zcash 2.0.7 RPC

+

getlocalsolps - Zcash 2.1.2 RPC

getlocalsolps
 
@@ -400,6 +400,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getmempoolinfo.html b/getmempoolinfo.html index ddb51d1..516243d 100644 --- a/getmempoolinfo.html +++ b/getmempoolinfo.html @@ -3,10 +3,10 @@ - + - getmempoolinfo - Zcash 2.0.7 RPC Docs + getmempoolinfo - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getmempoolinfo - Zcash 2.0.7 RPC

+

getmempoolinfo - Zcash 2.1.2 RPC

getmempoolinfo
 
@@ -403,6 +403,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getmininginfo.html b/getmininginfo.html index 3b4c464..d4d1f22 100644 --- a/getmininginfo.html +++ b/getmininginfo.html @@ -3,10 +3,10 @@ - + - getmininginfo - Zcash 2.0.7 RPC Docs + getmininginfo - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getmininginfo - Zcash 2.0.7 RPC

+

getmininginfo - Zcash 2.1.2 RPC

getmininginfo
 
@@ -411,6 +411,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getnettotals.html b/getnettotals.html index 35f242a..634b89d 100644 --- a/getnettotals.html +++ b/getnettotals.html @@ -3,10 +3,10 @@ - + - getnettotals - Zcash 2.0.7 RPC Docs + getnettotals - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getnettotals - Zcash 2.0.7 RPC

+

getnettotals - Zcash 2.1.2 RPC

getnettotals
 
@@ -404,6 +404,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getnetworkhashps.html b/getnetworkhashps.html index e02b58d..8e5eec4 100644 --- a/getnetworkhashps.html +++ b/getnetworkhashps.html @@ -3,10 +3,10 @@ - + - getnetworkhashps - Zcash 2.0.7 RPC Docs + getnetworkhashps - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getnetworkhashps - Zcash 2.0.7 RPC

+

getnetworkhashps - Zcash 2.1.2 RPC

getnetworkhashps ( blocks height )
 
@@ -407,6 +407,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getnetworkinfo.html b/getnetworkinfo.html index a0ce2a0..1706cc6 100644 --- a/getnetworkinfo.html +++ b/getnetworkinfo.html @@ -3,10 +3,10 @@ - + - getnetworkinfo - Zcash 2.0.7 RPC Docs + getnetworkinfo - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getnetworkinfo - Zcash 2.0.7 RPC

+

getnetworkinfo - Zcash 2.1.2 RPC

getnetworkinfo
 Returns an object containing various state info regarding P2P networking.
@@ -424,6 +424,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getnetworksolps.html b/getnetworksolps.html index 9447396..a864d12 100644 --- a/getnetworksolps.html +++ b/getnetworksolps.html @@ -3,10 +3,10 @@ - + - getnetworksolps - Zcash 2.0.7 RPC Docs + getnetworksolps - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getnetworksolps - Zcash 2.0.7 RPC

+

getnetworksolps - Zcash 2.1.2 RPC

getnetworksolps ( blocks height )
 
@@ -405,6 +405,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getnewaddress.html b/getnewaddress.html index 2d7ab7f..302da25 100644 --- a/getnewaddress.html +++ b/getnewaddress.html @@ -3,10 +3,10 @@ - + - getnewaddress - Zcash 2.0.7 RPC Docs + getnewaddress - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getnewaddress - Zcash 2.0.7 RPC

+

getnewaddress - Zcash 2.1.2 RPC

getnewaddress ( "account" )
 
@@ -402,6 +402,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getpeerinfo.html b/getpeerinfo.html index 32e8f9c..dbef845 100644 --- a/getpeerinfo.html +++ b/getpeerinfo.html @@ -3,10 +3,10 @@ - + - getpeerinfo - Zcash 2.0.7 RPC Docs + getpeerinfo - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getpeerinfo - Zcash 2.0.7 RPC

+

getpeerinfo - Zcash 2.1.2 RPC

getpeerinfo
 
@@ -426,6 +426,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getrawchangeaddress.html b/getrawchangeaddress.html index b36533c..b6ae59e 100644 --- a/getrawchangeaddress.html +++ b/getrawchangeaddress.html @@ -3,10 +3,10 @@ - + - getrawchangeaddress - Zcash 2.0.7 RPC Docs + getrawchangeaddress - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getrawchangeaddress - Zcash 2.0.7 RPC

+

getrawchangeaddress - Zcash 2.1.2 RPC

getrawchangeaddress
 
@@ -400,6 +400,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getrawmempool.html b/getrawmempool.html index eafdd0d..738fe3f 100644 --- a/getrawmempool.html +++ b/getrawmempool.html @@ -3,10 +3,10 @@ - + - getrawmempool - Zcash 2.0.7 RPC Docs + getrawmempool - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getrawmempool - Zcash 2.0.7 RPC

+

getrawmempool - Zcash 2.1.2 RPC

getrawmempool ( verbose )
 
@@ -420,6 +420,9 @@ Examples
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getrawtransaction.html b/getrawtransaction.html index d96af06..bfa0842 100644 --- a/getrawtransaction.html +++ b/getrawtransaction.html @@ -3,10 +3,10 @@ - + - getrawtransaction - Zcash 2.0.7 RPC Docs + getrawtransaction - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getrawtransaction - Zcash 2.0.7 RPC

+

getrawtransaction - Zcash 2.1.2 RPC

getrawtransaction "txid" ( verbose )
 
@@ -480,6 +480,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getreceivedbyaccount.html b/getreceivedbyaccount.html index a15c4f7..780c555 100644 --- a/getreceivedbyaccount.html +++ b/getreceivedbyaccount.html @@ -3,10 +3,10 @@ - + - getreceivedbyaccount - Zcash 2.0.7 RPC Docs + getreceivedbyaccount - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getreceivedbyaccount - Zcash 2.0.7 RPC

+

getreceivedbyaccount - Zcash 2.1.2 RPC

getreceivedbyaccount "account" ( minconf )
 
@@ -413,6 +413,9 @@ As a json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getreceivedbyaddress.html b/getreceivedbyaddress.html index c2d61d2..fbfeb6c 100644 --- a/getreceivedbyaddress.html +++ b/getreceivedbyaddress.html @@ -3,10 +3,10 @@ - + - getreceivedbyaddress - Zcash 2.0.7 RPC Docs + getreceivedbyaddress - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getreceivedbyaddress - Zcash 2.0.7 RPC

+

getreceivedbyaddress - Zcash 2.1.2 RPC

getreceivedbyaddress "zcashaddress" ( minconf )
 
@@ -413,6 +413,9 @@ As a json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getspentinfo.html b/getspentinfo.html index 1399d5e..0cc7869 100644 --- a/getspentinfo.html +++ b/getspentinfo.html @@ -3,10 +3,10 @@ - + - getspentinfo - Zcash 2.0.7 RPC Docs + getspentinfo - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getspentinfo - Zcash 2.0.7 RPC

+

getspentinfo - Zcash 2.1.2 RPC

getspentinfo {"txid": "txidhex", "index": n}
 
@@ -60,8 +60,8 @@ Result:
 }
 
 Examples:
-> zcash-cli getspentinfo '{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}'
-> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getspentinfo", "params": [{"txid": "0437cd7f8525ceed2324359c2d0ba26006d92d856a9c20fa0241106ee5a597c9", "index": 0}] }' -H 'content-type: text/plain;' http://127.0.0.1:8232/
+> zcash-cli getspentinfo '{"txid": "33990288fb116981260be1de10b8c764f997674545ab14f9240f00346333b780", "index": 4}'
+> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getspentinfo", "params": [{"txid": "33990288fb116981260be1de10b8c764f997674545ab14f9240f00346333b780", "index": 4}] }' -H 'content-type: text/plain;' http://127.0.0.1:8232/
 
 

@@ -417,6 +417,9 @@ Examples: importprivkey
+ importpubkey +
+ importwallet
diff --git a/gettransaction.html b/gettransaction.html index 6cb9b8f..9180026 100644 --- a/gettransaction.html +++ b/gettransaction.html @@ -3,10 +3,10 @@ - + - gettransaction - Zcash 2.0.7 RPC Docs + gettransaction - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

gettransaction - Zcash 2.0.7 RPC

+

gettransaction - Zcash 2.1.2 RPC

gettransaction "txid" ( includeWatchonly )
 
@@ -435,6 +435,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/gettxout.html b/gettxout.html index 2fa6583..a09e4a6 100644 --- a/gettxout.html +++ b/gettxout.html @@ -3,10 +3,10 @@ - + - gettxout - Zcash 2.0.7 RPC Docs + gettxout - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

gettxout - Zcash 2.0.7 RPC

+

gettxout - Zcash 2.1.2 RPC

gettxout "txid" n ( includemempool )
 
@@ -427,6 +427,9 @@ As a json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/gettxoutproof.html b/gettxoutproof.html index 7a89731..1ea9406 100644 --- a/gettxoutproof.html +++ b/gettxoutproof.html @@ -3,10 +3,10 @@ - + - gettxoutproof - Zcash 2.0.7 RPC Docs + gettxoutproof - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

gettxoutproof - Zcash 2.0.7 RPC

+

gettxoutproof - Zcash 2.1.2 RPC

gettxoutproof ["txid",...] ( blockhash )
 
@@ -410,6 +410,9 @@ Result:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/gettxoutsetinfo.html b/gettxoutsetinfo.html index 08dba62..ef57504 100644 --- a/gettxoutsetinfo.html +++ b/gettxoutsetinfo.html @@ -3,10 +3,10 @@ - + - gettxoutsetinfo - Zcash 2.0.7 RPC Docs + gettxoutsetinfo - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

gettxoutsetinfo - Zcash 2.0.7 RPC

+

gettxoutsetinfo - Zcash 2.1.2 RPC

gettxoutsetinfo
 
@@ -408,6 +408,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getunconfirmedbalance.html b/getunconfirmedbalance.html index b93a70c..00065e0 100644 --- a/getunconfirmedbalance.html +++ b/getunconfirmedbalance.html @@ -3,10 +3,10 @@ - + - getunconfirmedbalance - Zcash 2.0.7 RPC Docs + getunconfirmedbalance - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getunconfirmedbalance - Zcash 2.0.7 RPC

+

getunconfirmedbalance - Zcash 2.1.2 RPC

getunconfirmedbalance
 Returns the server's total unconfirmed balance
@@ -391,6 +391,9 @@ Returns the server's total unconfirmed balance
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/getwalletinfo.html b/getwalletinfo.html index 7b5ed6b..e9b530d 100644 --- a/getwalletinfo.html +++ b/getwalletinfo.html @@ -3,10 +3,10 @@ - + - getwalletinfo - Zcash 2.0.7 RPC Docs + getwalletinfo - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

getwalletinfo - Zcash 2.0.7 RPC

+

getwalletinfo - Zcash 2.1.2 RPC

getwalletinfo
 Returns an object containing various wallet state info.
@@ -40,9 +40,9 @@ Returns an object containing various wallet state info.
 Result:
 {
   "walletversion": xxxxx,     (numeric) the wallet version
-  "balance": xxxxxxx,         (numeric) the total confirmed balance of the wallet in ZEC
-  "unconfirmed_balance": xxx, (numeric) the total unconfirmed balance of the wallet in ZEC
-  "immature_balance": xxxxxx, (numeric) the total immature balance of the wallet in ZEC
+  "balance": xxxxxxx,         (numeric) the total confirmed transparent balance of the wallet in ZEC
+  "unconfirmed_balance": xxx, (numeric) the total unconfirmed transparent balance of the wallet in ZEC
+  "immature_balance": xxxxxx, (numeric) the total immature transparent balance of the wallet in ZEC
   "txcount": xxxxxxx,         (numeric) the total number of transactions in the wallet
   "keypoololdest": xxxxxx,    (numeric) the timestamp (seconds since GMT epoch) of the oldest pre-generated key in the key pool
   "keypoolsize": xxxx,        (numeric) how many new keys are pre-generated
@@ -409,6 +409,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/help.html b/help.html index 82cbcb5..8f51e07 100644 --- a/help.html +++ b/help.html @@ -3,10 +3,10 @@ - + - help - Zcash 2.0.7 RPC Docs + help - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

help - Zcash 2.0.7 RPC

+

help - Zcash 2.1.2 RPC

help ( "command" )
 
@@ -398,6 +398,9 @@ Result:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/importaddress.html b/importaddress.html index 0d1f994..50898c2 100644 --- a/importaddress.html +++ b/importaddress.html @@ -3,10 +3,10 @@ - + - importaddress - Zcash 2.0.7 RPC Docs + importaddress - Zcash 2.1.2 RPC Docs @@ -25,36 +25,41 @@
-

importaddress - Zcash 2.0.7 RPC

+

importaddress - Zcash 2.1.2 RPC

-
importaddress "address" ( "label" rescan )
+            
importaddress "address" ( "label" rescan p2sh )
 
-Adds an address or script (in hex) that can be watched as if it were in your wallet but cannot be used to spend.
+Adds a script (in hex) or address that can be watched as if it were in your wallet but cannot be used to spend.
 
 Arguments:
-1. "address"          (string, required) The address
+1. "script"           (string, required) The hex-encoded script (or address)
 2. "label"            (string, optional, default="") An optional label
 3. rescan               (boolean, optional, default=true) Rescan the wallet for transactions
+4. p2sh                 (boolean, optional, default=false) Add the P2SH version of the script as well
 
 Note: This call can take minutes to complete if rescan is true.
+If you have the full public key, you should call importpubkey instead of this.
+
+Note: If you import a non-standard raw script in hex form, outputs sending to it will be treated
+as change, and not show up in many RPCs.
 
 Examples:
 
-Import an address with rescan
-> zcash-cli importaddress "myaddress"
+Import a script with rescan
+> zcash-cli importaddress "myscript"
 
 Import using a label without rescan
-> zcash-cli importaddress "myaddress" "testing" false
+> zcash-cli importaddress "myscript" "testing" false
 
 As a JSON-RPC call
-> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importaddress", "params": ["myaddress", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:8232/
+> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importaddress", "params": ["myscript", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:8232/
 
 

@@ -410,6 +415,9 @@ As a JSON-RPC call importprivkey
+ importpubkey +
+ importwallet
diff --git a/importprivkey.html b/importprivkey.html index 4ecea0d..779b5ad 100644 --- a/importprivkey.html +++ b/importprivkey.html @@ -3,10 +3,10 @@ - + - importprivkey - Zcash 2.0.7 RPC Docs + importprivkey - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

importprivkey - Zcash 2.0.7 RPC

+

importprivkey - Zcash 2.1.2 RPC

importprivkey "zcashprivkey" ( "label" rescan )
 
@@ -413,6 +413,9 @@ As a JSON-RPC call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/importpubkey.html b/importpubkey.html new file mode 100644 index 0000000..d56fc23 --- /dev/null +++ b/importpubkey.html @@ -0,0 +1,553 @@ + + + + + + + + + importpubkey - Zcash 2.1.2 RPC Docs + + + + + + + + + + +
+ +
+
+

importpubkey - Zcash 2.1.2 RPC

+ +
importpubkey "pubkey" ( "label" rescan )
+
+Adds a public key (in hex) that can be watched as if it were in your wallet but cannot be used to spend.
+
+Arguments:
+1. "pubkey"           (string, required) The hex-encoded public key
+2. "label"            (string, optional, default="") An optional label
+3. rescan               (boolean, optional, default=true) Rescan the wallet for transactions
+
+Note: This call can take minutes to complete if rescan is true.
+
+Examples:
+
+Import a public key with rescan
+> zcash-cli importpubkey "mypubkey"
+
+Import using a label without rescan
+> zcash-cli importpubkey "mypubkey" "testing" false
+
+As a JSON-RPC call
+> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importpubkey", "params": ["mypubkey", "testing", false] }' -H 'content-type: text/plain;' http://127.0.0.1:8232/
+
+
+
+ +

+ Made by @karel_3d; license of the docs is MIT (see zcash repo), license of the scripts and webpage is also MIT ((C) 2018 Karel Bilek) (github repo) +

+

+ Note it uses a mainnet node +

+
+
+ +
+
+ Addressindex +
+ +
+
+ + +
+ +
+
+ Control +
+
+ + getinfo +
+ + help +
+ + stop +
+ +
+
+
+ +
+
+ Disclosure +
+ +
+
+ +
+
+ Generating +
+
+ + generate +
+ + getgenerate +
+ + setgenerate +
+ +
+
+
+ + +
+ +
+
+ Network +
+ +
+
+ + +
+ +
+
+ Util +
+ +
+
+ + +
+ +
+
+
+ + diff --git a/importwallet.html b/importwallet.html index 458b413..fca6520 100644 --- a/importwallet.html +++ b/importwallet.html @@ -3,10 +3,10 @@ - + - importwallet - Zcash 2.0.7 RPC Docs + importwallet - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

importwallet - Zcash 2.0.7 RPC

+

importwallet - Zcash 2.1.2 RPC

importwallet "filename"
 
@@ -406,6 +406,9 @@ Import using the json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/index.html b/index.html index 4f9e2c0..6fc3f01 100644 --- a/index.html +++ b/index.html @@ -3,10 +3,10 @@ - + - Zcash 2.0.7 RPC Docs + Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

Zcash 2.0.7 RPC

+

Zcash 2.1.2 RPC

Made by @karel_3d; license of the docs is MIT (see zcash repo), license of the scripts and webpage is also MIT ((C) 2018 Karel Bilek) (github repo) @@ -385,6 +385,9 @@ importprivkey
+ importpubkey +
+ importwallet
diff --git a/keypoolrefill.html b/keypoolrefill.html index 7275dcf..33fa234 100644 --- a/keypoolrefill.html +++ b/keypoolrefill.html @@ -3,10 +3,10 @@ - + - keypoolrefill - Zcash 2.0.7 RPC Docs + keypoolrefill - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@

-

keypoolrefill - Zcash 2.0.7 RPC

+

keypoolrefill - Zcash 2.1.2 RPC

keypoolrefill ( newsize )
 
@@ -399,6 +399,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/listaccounts.html b/listaccounts.html index e04499b..f8487cb 100644 --- a/listaccounts.html +++ b/listaccounts.html @@ -3,10 +3,10 @@ - + - listaccounts - Zcash 2.0.7 RPC Docs + listaccounts - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

listaccounts - Zcash 2.0.7 RPC

+

listaccounts - Zcash 2.1.2 RPC

listaccounts ( minconf includeWatchonly)
 
@@ -416,6 +416,9 @@ As json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/listaddressgroupings.html b/listaddressgroupings.html index 9a1f970..015adbf 100644 --- a/listaddressgroupings.html +++ b/listaddressgroupings.html @@ -3,10 +3,10 @@ - + - listaddressgroupings - Zcash 2.0.7 RPC Docs + listaddressgroupings - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

listaddressgroupings - Zcash 2.0.7 RPC

+

listaddressgroupings - Zcash 2.1.2 RPC

listaddressgroupings
 
@@ -411,6 +411,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/listbanned.html b/listbanned.html index b3c9818..67001f4 100644 --- a/listbanned.html +++ b/listbanned.html @@ -3,10 +3,10 @@ - + - listbanned - Zcash 2.0.7 RPC Docs + listbanned - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

listbanned - Zcash 2.0.7 RPC

+

listbanned - Zcash 2.1.2 RPC

listbanned
 
@@ -396,6 +396,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/listlockunspent.html b/listlockunspent.html index 80efcf7..23d5a0a 100644 --- a/listlockunspent.html +++ b/listlockunspent.html @@ -3,10 +3,10 @@ - + - listlockunspent - Zcash 2.0.7 RPC Docs + listlockunspent - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

listlockunspent - Zcash 2.0.7 RPC

+

listlockunspent - Zcash 2.1.2 RPC

listlockunspent
 
@@ -419,6 +419,9 @@ As a json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/listreceivedbyaccount.html b/listreceivedbyaccount.html index c88911e..6c082ae 100644 --- a/listreceivedbyaccount.html +++ b/listreceivedbyaccount.html @@ -3,10 +3,10 @@ - + - listreceivedbyaccount - Zcash 2.0.7 RPC Docs + listreceivedbyaccount - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

listreceivedbyaccount - Zcash 2.0.7 RPC

+

listreceivedbyaccount - Zcash 2.1.2 RPC

listreceivedbyaccount ( minconf includeempty includeWatchonly)
 
@@ -413,6 +413,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/listreceivedbyaddress.html b/listreceivedbyaddress.html index e4bd4b0..1562ab9 100644 --- a/listreceivedbyaddress.html +++ b/listreceivedbyaddress.html @@ -3,10 +3,10 @@ - + - listreceivedbyaddress - Zcash 2.0.7 RPC Docs + listreceivedbyaddress - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

listreceivedbyaddress - Zcash 2.0.7 RPC

+

listreceivedbyaddress - Zcash 2.1.2 RPC

listreceivedbyaddress ( minconf includeempty includeWatchonly)
 
@@ -414,6 +414,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/listsinceblock.html b/listsinceblock.html index 77dea18..89d3318 100644 --- a/listsinceblock.html +++ b/listsinceblock.html @@ -3,10 +3,10 @@ - + - listsinceblock - Zcash 2.0.7 RPC Docs + listsinceblock - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

listsinceblock - Zcash 2.0.7 RPC

+

listsinceblock - Zcash 2.1.2 RPC

listsinceblock ( "blockhash" target-confirmations includeWatchonly)
 
@@ -424,6 +424,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/listtransactions.html b/listtransactions.html index e04cb2f..1c69892 100644 --- a/listtransactions.html +++ b/listtransactions.html @@ -3,10 +3,10 @@ - + - listtransactions - Zcash 2.0.7 RPC Docs + listtransactions - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

listtransactions - Zcash 2.0.7 RPC

+

listtransactions - Zcash 2.1.2 RPC

listtransactions ( "account" count from includeWatchonly)
 
@@ -444,6 +444,9 @@ As a json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/listunspent.html b/listunspent.html index 6668085..14e2552 100644 --- a/listunspent.html +++ b/listunspent.html @@ -3,10 +3,10 @@ - + - listunspent - Zcash 2.0.7 RPC Docs + listunspent - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

listunspent - Zcash 2.0.7 RPC

+

listunspent - Zcash 2.1.2 RPC

listunspent ( minconf maxconf  ["address",...] )
 
@@ -427,6 +427,9 @@ Examples
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/lockunspent.html b/lockunspent.html index 75fcded..df8419a 100644 --- a/lockunspent.html +++ b/lockunspent.html @@ -3,10 +3,10 @@ - + - lockunspent - Zcash 2.0.7 RPC Docs + lockunspent - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

lockunspent - Zcash 2.0.7 RPC

+

lockunspent - Zcash 2.1.2 RPC

lockunspent unlock [{"txid":"txid","vout":n},...]
 
@@ -428,6 +428,9 @@ As a json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/move.html b/move.html index e0cd20a..669290a 100644 --- a/move.html +++ b/move.html @@ -3,10 +3,10 @@ - + - move - Zcash 2.0.7 RPC Docs + move - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

move - Zcash 2.0.7 RPC

+

move - Zcash 2.1.2 RPC

move "fromaccount" "toaccount" amount ( minconf "comment" )
 
@@ -413,6 +413,9 @@ As a json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/ping.html b/ping.html index 9a7a750..a917892 100644 --- a/ping.html +++ b/ping.html @@ -3,10 +3,10 @@ - + - ping - Zcash 2.0.7 RPC Docs + ping - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

ping - Zcash 2.0.7 RPC

+

ping - Zcash 2.1.2 RPC

ping
 
@@ -398,6 +398,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/prioritisetransaction.html b/prioritisetransaction.html index 4467074..fce9e90 100644 --- a/prioritisetransaction.html +++ b/prioritisetransaction.html @@ -3,10 +3,10 @@ - + - prioritisetransaction - Zcash 2.0.7 RPC Docs + prioritisetransaction - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

prioritisetransaction - Zcash 2.0.7 RPC

+

prioritisetransaction - Zcash 2.1.2 RPC

prioritisetransaction <txid> <priority delta> <fee delta>
 Accepts the transaction into mined blocks at a higher (or lower) priority
@@ -407,6 +407,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/script/template.html b/script/template.html index 5686319..4ffc89d 100644 --- a/script/template.html +++ b/script/template.html @@ -3,10 +3,10 @@ - + - {{if .Command}}{{.Command.Name}} - {{end}}Zcash 2.0.7 RPC Docs + {{if .Command}}{{.Command.Name}} - {{end}}Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

{{if .Command}}{{.Command.Name}} - {{end}}Zcash 2.0.7 RPC

+

{{if .Command}}{{.Command.Name}} - {{end}}Zcash 2.1.2 RPC

{{if .Command}}
{{.Command.Description}}

diff --git a/sendfrom.html b/sendfrom.html index bb20c66..6f65196 100644 --- a/sendfrom.html +++ b/sendfrom.html @@ -3,10 +3,10 @@ - + - sendfrom - Zcash 2.0.7 RPC Docs + sendfrom - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

sendfrom - Zcash 2.0.7 RPC

+

sendfrom - Zcash 2.1.2 RPC

sendfrom "fromaccount" "tozcashaddress" amount ( minconf "comment" "comment-to" )
 
@@ -418,6 +418,9 @@ As a json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/sendmany.html b/sendmany.html index 7cc2478..d0a98b6 100644 --- a/sendmany.html +++ b/sendmany.html @@ -3,10 +3,10 @@ - + - sendmany - Zcash 2.0.7 RPC Docs + sendmany - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

sendmany - Zcash 2.0.7 RPC

+

sendmany - Zcash 2.1.2 RPC

sendmany "fromaccount" {"address":amount,...} ( minconf "comment" ["address",...] )
 
@@ -428,6 +428,9 @@ As a json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/sendrawtransaction.html b/sendrawtransaction.html index 7f0a420..17dfbe0 100644 --- a/sendrawtransaction.html +++ b/sendrawtransaction.html @@ -3,10 +3,10 @@ - + - sendrawtransaction - Zcash 2.0.7 RPC Docs + sendrawtransaction - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

sendrawtransaction - Zcash 2.0.7 RPC

+

sendrawtransaction - Zcash 2.1.2 RPC

sendrawtransaction "hexstring" ( allowhighfees )
 
@@ -414,6 +414,9 @@ As a json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/sendtoaddress.html b/sendtoaddress.html index a500e65..d69464e 100644 --- a/sendtoaddress.html +++ b/sendtoaddress.html @@ -3,10 +3,10 @@ - + - sendtoaddress - Zcash 2.0.7 RPC Docs + sendtoaddress - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

sendtoaddress - Zcash 2.0.7 RPC

+

sendtoaddress - Zcash 2.1.2 RPC

sendtoaddress "zcashaddress" amount ( "comment" "comment-to" subtractfeefromamount )
 
@@ -412,6 +412,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/setaccount.html b/setaccount.html index 8d9d2bc..5e90fae 100644 --- a/setaccount.html +++ b/setaccount.html @@ -3,10 +3,10 @@ - + - setaccount - Zcash 2.0.7 RPC Docs + setaccount - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

setaccount - Zcash 2.0.7 RPC

+

setaccount - Zcash 2.1.2 RPC

setaccount "zcashaddress" "account"
 
@@ -400,6 +400,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/setban.html b/setban.html index 929edd5..5f79000 100644 --- a/setban.html +++ b/setban.html @@ -3,10 +3,10 @@ - + - setban - Zcash 2.0.7 RPC Docs + setban - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

setban - Zcash 2.0.7 RPC

+

setban - Zcash 2.1.2 RPC

setban "ip(/netmask)" "add|remove" (bantime) (absolute)
 
@@ -403,6 +403,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/setgenerate.html b/setgenerate.html index 5208793..bdc7720 100644 --- a/setgenerate.html +++ b/setgenerate.html @@ -3,10 +3,10 @@ - + - setgenerate - Zcash 2.0.7 RPC Docs + setgenerate - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

setgenerate - Zcash 2.0.7 RPC

+

setgenerate - Zcash 2.1.2 RPC

setgenerate generate ( genproclimit )
 
@@ -412,6 +412,9 @@ Using json rpc
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/settxfee.html b/settxfee.html index 162e1f9..3799457 100644 --- a/settxfee.html +++ b/settxfee.html @@ -3,10 +3,10 @@ - + - settxfee - Zcash 2.0.7 RPC Docs + settxfee - Zcash 2.1.2 RPC Docs @@ -25,18 +25,18 @@
-

settxfee - Zcash 2.0.7 RPC

+

settxfee - Zcash 2.1.2 RPC

settxfee amount
 
-Set the transaction fee per kB.
+Set the transaction fee per kB. Overwrites the paytxfee parameter.
 
 Arguments:
 1. amount         (numeric, required) The transaction fee in ZEC/kB rounded to the nearest 0.00000001
@@ -402,6 +402,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/signmessage.html b/signmessage.html index 5215015..d970a4c 100644 --- a/signmessage.html +++ b/signmessage.html @@ -3,10 +3,10 @@ - + - signmessage - Zcash 2.0.7 RPC Docs + signmessage - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

signmessage - Zcash 2.0.7 RPC

+

signmessage - Zcash 2.1.2 RPC

signmessage "t-addr" "message"
 
@@ -413,6 +413,9 @@ As json rpc
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/signrawtransaction.html b/signrawtransaction.html index 6fbd052..72d39c0 100644 --- a/signrawtransaction.html +++ b/signrawtransaction.html @@ -3,10 +3,10 @@ - + - signrawtransaction - Zcash 2.0.7 RPC Docs + signrawtransaction - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

signrawtransaction - Zcash 2.0.7 RPC

+

signrawtransaction - Zcash 2.1.2 RPC

signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
 
@@ -444,6 +444,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/stop.html b/stop.html index 3fe0512..1d4322a 100644 --- a/stop.html +++ b/stop.html @@ -3,10 +3,10 @@ - + - stop - Zcash 2.0.7 RPC Docs + stop - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

stop - Zcash 2.0.7 RPC

+

stop - Zcash 2.1.2 RPC

stop
 
@@ -391,6 +391,9 @@ Stop Zcash server.
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/submitblock.html b/submitblock.html index cd564ba..e2eca11 100644 --- a/submitblock.html +++ b/submitblock.html @@ -3,10 +3,10 @@ - + - submitblock - Zcash 2.0.7 RPC Docs + submitblock - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

submitblock - Zcash 2.0.7 RPC

+

submitblock - Zcash 2.1.2 RPC

submitblock "hexdata" ( "jsonparametersobject" )
 
@@ -413,6 +413,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/validateaddress.html b/validateaddress.html index 2a3041f..160c8e7 100644 --- a/validateaddress.html +++ b/validateaddress.html @@ -3,10 +3,10 @@ - + - validateaddress - Zcash 2.0.7 RPC Docs + validateaddress - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

validateaddress - Zcash 2.0.7 RPC

+

validateaddress - Zcash 2.1.2 RPC

validateaddress "zcashaddress"
 
@@ -411,6 +411,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/verifychain.html b/verifychain.html index fe06aac..3e69305 100644 --- a/verifychain.html +++ b/verifychain.html @@ -3,10 +3,10 @@ - + - verifychain - Zcash 2.0.7 RPC Docs + verifychain - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

verifychain - Zcash 2.0.7 RPC

+

verifychain - Zcash 2.1.2 RPC

verifychain ( checklevel numblocks )
 
@@ -403,6 +403,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/verifymessage.html b/verifymessage.html index b751ca8..340be68 100644 --- a/verifymessage.html +++ b/verifymessage.html @@ -3,10 +3,10 @@ - + - verifymessage - Zcash 2.0.7 RPC Docs + verifymessage - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

verifymessage - Zcash 2.0.7 RPC

+

verifymessage - Zcash 2.1.2 RPC

verifymessage "zcashaddress" "signature" "message"
 
@@ -414,6 +414,9 @@ As json rpc
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/verifytxoutproof.html b/verifytxoutproof.html index 734e925..c545d0f 100644 --- a/verifytxoutproof.html +++ b/verifytxoutproof.html @@ -3,10 +3,10 @@ - + - verifytxoutproof - Zcash 2.0.7 RPC Docs + verifytxoutproof - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

verifytxoutproof - Zcash 2.0.7 RPC

+

verifytxoutproof - Zcash 2.1.2 RPC

verifytxoutproof "proof"
 
@@ -399,6 +399,9 @@ Result:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_exportkey.html b/z_exportkey.html index 8f155d6..c9f77d8 100644 --- a/z_exportkey.html +++ b/z_exportkey.html @@ -3,10 +3,10 @@ - + - z_exportkey - Zcash 2.0.7 RPC Docs + z_exportkey - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_exportkey - Zcash 2.0.7 RPC

+

z_exportkey - Zcash 2.1.2 RPC

z_exportkey "zaddr"
 
@@ -404,6 +404,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_exportviewingkey.html b/z_exportviewingkey.html index e4dffb4..4d792c4 100644 --- a/z_exportviewingkey.html +++ b/z_exportviewingkey.html @@ -3,10 +3,10 @@ - + - z_exportviewingkey - Zcash 2.0.7 RPC Docs + z_exportviewingkey - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_exportviewingkey - Zcash 2.0.7 RPC

+

z_exportviewingkey - Zcash 2.1.2 RPC

z_exportviewingkey "zaddr"
 
@@ -403,6 +403,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_exportwallet.html b/z_exportwallet.html index 1dafcb8..6d3da4f 100644 --- a/z_exportwallet.html +++ b/z_exportwallet.html @@ -3,10 +3,10 @@ - + - z_exportwallet - Zcash 2.0.7 RPC Docs + z_exportwallet - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_exportwallet - Zcash 2.0.7 RPC

+

z_exportwallet - Zcash 2.1.2 RPC

z_exportwallet "filename"
 
@@ -402,6 +402,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_getbalance.html b/z_getbalance.html index 505a148..3191aa6 100644 --- a/z_getbalance.html +++ b/z_getbalance.html @@ -3,10 +3,10 @@ - + - z_getbalance - Zcash 2.0.7 RPC Docs + z_getbalance - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_getbalance - Zcash 2.0.7 RPC

+

z_getbalance - Zcash 2.1.2 RPC

z_getbalance "address" ( minconf )
 
@@ -413,6 +413,9 @@ As a json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_getmigrationstatus.html b/z_getmigrationstatus.html index 51d9f3c..62df32f 100644 --- a/z_getmigrationstatus.html +++ b/z_getmigrationstatus.html @@ -3,10 +3,10 @@ - + - z_getmigrationstatus - Zcash 2.0.7 RPC Docs + z_getmigrationstatus - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_getmigrationstatus - Zcash 2.0.7 RPC

+

z_getmigrationstatus - Zcash 2.1.2 RPC

z_getmigrationstatus
 Returns information about the status of the Sprout to Sapling migration.
@@ -406,6 +406,9 @@ Result:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_getnewaddress.html b/z_getnewaddress.html index 24c11c2..bfcc7d7 100644 --- a/z_getnewaddress.html +++ b/z_getnewaddress.html @@ -3,10 +3,10 @@ - + - z_getnewaddress - Zcash 2.0.7 RPC Docs + z_getnewaddress - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_getnewaddress - Zcash 2.0.7 RPC

+

z_getnewaddress - Zcash 2.1.2 RPC

z_getnewaddress ( type )
 
@@ -405,6 +405,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_getoperationresult.html b/z_getoperationresult.html index bab615a..4601d59 100644 --- a/z_getoperationresult.html +++ b/z_getoperationresult.html @@ -3,10 +3,10 @@ - + - z_getoperationresult - Zcash 2.0.7 RPC Docs + z_getoperationresult - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_getoperationresult - Zcash 2.0.7 RPC

+

z_getoperationresult - Zcash 2.1.2 RPC

z_getoperationresult (["operationid", ... ]) 
 
@@ -402,6 +402,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_getoperationstatus.html b/z_getoperationstatus.html index f590392..519c6b4 100644 --- a/z_getoperationstatus.html +++ b/z_getoperationstatus.html @@ -3,10 +3,10 @@ - + - z_getoperationstatus - Zcash 2.0.7 RPC Docs + z_getoperationstatus - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_getoperationstatus - Zcash 2.0.7 RPC

+

z_getoperationstatus - Zcash 2.1.2 RPC

z_getoperationstatus (["operationid", ... ]) 
 
@@ -402,6 +402,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_getpaymentdisclosure.html b/z_getpaymentdisclosure.html index 8652ca4..4fcd565 100644 --- a/z_getpaymentdisclosure.html +++ b/z_getpaymentdisclosure.html @@ -3,10 +3,10 @@ - + - z_getpaymentdisclosure - Zcash 2.0.7 RPC Docs + z_getpaymentdisclosure - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_getpaymentdisclosure - Zcash 2.0.7 RPC

+

z_getpaymentdisclosure - Zcash 2.1.2 RPC

z_getpaymentdisclosure "txid" "js_index" "output_index" ("message") 
 
@@ -415,6 +415,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_gettotalbalance.html b/z_gettotalbalance.html index fc9b920..c0a8b9e 100644 --- a/z_gettotalbalance.html +++ b/z_gettotalbalance.html @@ -3,10 +3,10 @@ - + - z_gettotalbalance - Zcash 2.0.7 RPC Docs + z_gettotalbalance - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_gettotalbalance - Zcash 2.0.7 RPC

+

z_gettotalbalance - Zcash 2.1.2 RPC

z_gettotalbalance ( minconf includeWatchonly )
 
@@ -418,6 +418,9 @@ As a json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_importkey.html b/z_importkey.html index 54d74bf..2606f63 100644 --- a/z_importkey.html +++ b/z_importkey.html @@ -3,10 +3,10 @@ - + - z_importkey - Zcash 2.0.7 RPC Docs + z_importkey - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_importkey - Zcash 2.0.7 RPC

+

z_importkey - Zcash 2.1.2 RPC

z_importkey "zkey" ( rescan startHeight )
 
@@ -416,6 +416,9 @@ As a JSON-RPC call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_importviewingkey.html b/z_importviewingkey.html index ff957bf..f5a2478 100644 --- a/z_importviewingkey.html +++ b/z_importviewingkey.html @@ -3,10 +3,10 @@ - + - z_importviewingkey - Zcash 2.0.7 RPC Docs + z_importviewingkey - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_importviewingkey - Zcash 2.0.7 RPC

+

z_importviewingkey - Zcash 2.1.2 RPC

z_importviewingkey "vkey" ( rescan startHeight )
 
@@ -416,6 +416,9 @@ As a JSON-RPC call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_importwallet.html b/z_importwallet.html index b64d058..828a4fe 100644 --- a/z_importwallet.html +++ b/z_importwallet.html @@ -3,10 +3,10 @@ - + - z_importwallet - Zcash 2.0.7 RPC Docs + z_importwallet - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_importwallet - Zcash 2.0.7 RPC

+

z_importwallet - Zcash 2.1.2 RPC

z_importwallet "filename"
 
@@ -406,6 +406,9 @@ Import using the json rpc call
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_listaddresses.html b/z_listaddresses.html index 09dd4eb..e102775 100644 --- a/z_listaddresses.html +++ b/z_listaddresses.html @@ -3,10 +3,10 @@ - + - z_listaddresses - Zcash 2.0.7 RPC Docs + z_listaddresses - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_listaddresses - Zcash 2.0.7 RPC

+

z_listaddresses - Zcash 2.1.2 RPC

z_listaddresses ( includeWatchonly )
 
@@ -405,6 +405,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_listoperationids.html b/z_listoperationids.html index 0a17d95..0a0871a 100644 --- a/z_listoperationids.html +++ b/z_listoperationids.html @@ -3,10 +3,10 @@ - + - z_listoperationids - Zcash 2.0.7 RPC Docs + z_listoperationids - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_listoperationids - Zcash 2.0.7 RPC

+

z_listoperationids - Zcash 2.1.2 RPC

z_listoperationids
 
@@ -405,6 +405,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_listreceivedbyaddress.html b/z_listreceivedbyaddress.html index 3e8ffa4..3e0af59 100644 --- a/z_listreceivedbyaddress.html +++ b/z_listreceivedbyaddress.html @@ -3,10 +3,10 @@ - + - z_listreceivedbyaddress - Zcash 2.0.7 RPC Docs + z_listreceivedbyaddress - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_listreceivedbyaddress - Zcash 2.0.7 RPC

+

z_listreceivedbyaddress - Zcash 2.1.2 RPC

z_listreceivedbyaddress "address" ( minconf )
 
@@ -411,6 +411,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_listunspent.html b/z_listunspent.html index f1de698..bf6c2ed 100644 --- a/z_listunspent.html +++ b/z_listunspent.html @@ -3,10 +3,10 @@ - + - z_listunspent - Zcash 2.0.7 RPC Docs + z_listunspent - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_listunspent - Zcash 2.0.7 RPC

+

z_listunspent - Zcash 2.1.2 RPC

z_listunspent ( minconf maxconf includeWatchonly ["zaddr",...] )
 
@@ -429,6 +429,9 @@ Examples
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_mergetoaddress.html b/z_mergetoaddress.html index 67e0b3c..2658b70 100644 --- a/z_mergetoaddress.html +++ b/z_mergetoaddress.html @@ -3,10 +3,10 @@ - + - z_mergetoaddress - Zcash 2.0.7 RPC Docs + z_mergetoaddress - Zcash 2.1.2 RPC Docs @@ -25,25 +25,17 @@
-

z_mergetoaddress - Zcash 2.0.7 RPC

+

z_mergetoaddress - Zcash 2.1.2 RPC

z_mergetoaddress ["fromaddress", ... ] "toaddress" ( fee ) ( transparent_limit ) ( shielded_limit ) ( memo )
 
-WARNING: z_mergetoaddress is disabled.
-To enable it, restart zcashd with the -experimentalfeatures and
--zmergetoaddress commandline options, or add these two lines
-to the zcash.conf file:
-
-experimentalfeatures=1
-zmergetoaddress=1
-
 Merge multiple UTXOs and notes into a single UTXO or note.  Coinbase UTXOs are ignored; use `z_shieldcoinbase`
 to combine those into a single note.
 
@@ -51,9 +43,7 @@ This is an asynchronous operation, and UTXOs selected for merging will be locked
 are unlocked.  The RPC call `listlockunspent` can be used to return a list of locked UTXOs.
 
 The number of UTXOs and notes selected for merging can be limited by the caller.  If the transparent limit
-parameter is set to zero, and Overwinter is not yet active, the -mempooltxinputlimit option will determine the
-number of UTXOs.  After Overwinter has activated -mempooltxinputlimit is ignored and having a transparent
-input limit of zero will mean limit the number of UTXOs based on the size of the transaction.  Any limit is
+parameter is set to zero will mean limit the number of UTXOs based on the size of the transaction.  Any limit is
 constrained by the consensus rule defining a maximum transaction size of 100000 bytes before Sapling, and 2000000
 bytes once Sapling activates.
 
@@ -72,7 +62,7 @@ Arguments:
     ]
 2. "toaddress"           (string, required) The taddr or zaddr to send the funds to.
 3. fee                   (numeric, optional, default=0.0001) The fee amount to attach to this transaction.
-4. transparent_limit     (numeric, optional, default=50) Limit on the maximum number of UTXOs to merge.  Set to 0 to use node option -mempooltxinputlimit (before Overwinter), or as many as will fit in the transaction (after Overwinter).
+4. transparent_limit     (numeric, optional, default=50) Limit on the maximum number of UTXOs to merge.  Set to 0 to use as many as will fit in the transaction.
 5. shielded_limit        (numeric, optional, default=20 Sprout or 200 Sapling Notes) Limit on the maximum number of notes to merge.  Set to 0 to merge as many as will fit in the transaction.
 6. "memo"                (string, optional) Encoded as hex. When toaddress is a zaddr, this will be stored in the memo field of the new note.
 
@@ -447,6 +437,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_sendmany.html b/z_sendmany.html index bb9f6a8..4f69288 100644 --- a/z_sendmany.html +++ b/z_sendmany.html @@ -3,10 +3,10 @@ - + - z_sendmany - Zcash 2.0.7 RPC Docs + z_sendmany - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_sendmany - Zcash 2.0.7 RPC

+

z_sendmany - Zcash 2.1.2 RPC

z_sendmany "fromaddress" [{"address":... ,"amount":...},...] ( minconf ) ( fee )
 
@@ -414,6 +414,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_setmigration.html b/z_setmigration.html index 57b3d91..3417430 100644 --- a/z_setmigration.html +++ b/z_setmigration.html @@ -3,10 +3,10 @@ - + - z_setmigration - Zcash 2.0.7 RPC Docs + z_setmigration - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_setmigration - Zcash 2.0.7 RPC

+

z_setmigration - Zcash 2.1.2 RPC

z_setmigration enabled
 When enabled the Sprout to Sapling migration will attempt to migrate all funds from this wallet’s
@@ -402,6 +402,9 @@ Arguments:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_shieldcoinbase.html b/z_shieldcoinbase.html index 22823c3..0a955e7 100644 --- a/z_shieldcoinbase.html +++ b/z_shieldcoinbase.html @@ -3,10 +3,10 @@ - + - z_shieldcoinbase - Zcash 2.0.7 RPC Docs + z_shieldcoinbase - Zcash 2.1.2 RPC Docs @@ -25,29 +25,28 @@
-

z_shieldcoinbase - Zcash 2.0.7 RPC

+

z_shieldcoinbase - Zcash 2.1.2 RPC

z_shieldcoinbase "fromaddress" "tozaddress" ( fee ) ( limit )
 
 Shield transparent coinbase funds by sending to a shielded zaddr.  This is an asynchronous operation and utxos
 selected for shielding will be locked.  If there is an error, they are unlocked.  The RPC call `listlockunspent`
 can be used to return a list of locked utxos.  The number of coinbase utxos selected for shielding can be limited
-by the caller.  If the limit parameter is set to zero, and Overwinter is not yet active, the -mempooltxinputlimit
-option will determine the number of uxtos.  Any limit is constrained by the consensus rule defining a maximum
+by the caller. Any limit is constrained by the consensus rule defining a maximum
 transaction size of 100000 bytes before Sapling, and 2000000 bytes once Sapling activates.
 
 Arguments:
 1. "fromaddress"         (string, required) The address is a taddr or "*" for all taddrs belonging to the wallet.
 2. "toaddress"           (string, required) The address is a zaddr.
 3. fee                   (numeric, optional, default=0.0001) The fee amount to attach to this transaction.
-4. limit                 (numeric, optional, default=50) Limit on the maximum number of utxos to shield.  Set to 0 to use node option -mempooltxinputlimit (before Overwinter), or as many as will fit in the transaction (after Overwinter).
+4. limit                 (numeric, optional, default=50) Limit on the maximum number of utxos to shield.  Set to 0 to use as many as will fit in the transaction.
 
 Result:
 {
@@ -416,6 +415,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_validateaddress.html b/z_validateaddress.html index 491f233..3be711f 100644 --- a/z_validateaddress.html +++ b/z_validateaddress.html @@ -3,10 +3,10 @@ - + - z_validateaddress - Zcash 2.0.7 RPC Docs + z_validateaddress - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_validateaddress - Zcash 2.0.7 RPC

+

z_validateaddress - Zcash 2.1.2 RPC

z_validateaddress "zaddr"
 
@@ -411,6 +411,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/z_validatepaymentdisclosure.html b/z_validatepaymentdisclosure.html index 1db0b3a..9a81b1c 100644 --- a/z_validatepaymentdisclosure.html +++ b/z_validatepaymentdisclosure.html @@ -3,10 +3,10 @@ - + - z_validatepaymentdisclosure - Zcash 2.0.7 RPC Docs + z_validatepaymentdisclosure - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

z_validatepaymentdisclosure - Zcash 2.0.7 RPC

+

z_validatepaymentdisclosure - Zcash 2.1.2 RPC

z_validatepaymentdisclosure "paymentdisclosure"
 
@@ -409,6 +409,9 @@ Examples:
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/zcbenchmark.html b/zcbenchmark.html index f622adf..5df321a 100644 --- a/zcbenchmark.html +++ b/zcbenchmark.html @@ -3,10 +3,10 @@ - + - zcbenchmark - Zcash 2.0.7 RPC Docs + zcbenchmark - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

zcbenchmark - Zcash 2.0.7 RPC

+

zcbenchmark - Zcash 2.1.2 RPC

zcbenchmark benchmarktype samplecount
 
@@ -403,6 +403,9 @@ Output: [
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/zcrawjoinsplit.html b/zcrawjoinsplit.html index f7e2f87..e7b89ee 100644 --- a/zcrawjoinsplit.html +++ b/zcrawjoinsplit.html @@ -3,10 +3,10 @@ - + - zcrawjoinsplit - Zcash 2.0.7 RPC Docs + zcrawjoinsplit - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

zcrawjoinsplit - Zcash 2.0.7 RPC

+

zcrawjoinsplit - Zcash 2.1.2 RPC

zcrawjoinsplit rawtx inputs outputs vpub_old vpub_new
   inputs: a JSON object mapping {note: zcsecretkey, ...}
@@ -408,6 +408,9 @@ Output: {
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/zcrawkeygen.html b/zcrawkeygen.html index e6039b5..2950700 100644 --- a/zcrawkeygen.html +++ b/zcrawkeygen.html @@ -3,10 +3,10 @@ - + - zcrawkeygen - Zcash 2.0.7 RPC Docs + zcrawkeygen - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

zcrawkeygen - Zcash 2.0.7 RPC

+

zcrawkeygen - Zcash 2.1.2 RPC

zcrawkeygen
 
@@ -398,6 +398,9 @@ Output: {
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/zcrawreceive.html b/zcrawreceive.html index 769693a..59be656 100644 --- a/zcrawreceive.html +++ b/zcrawreceive.html @@ -3,10 +3,10 @@ - + - zcrawreceive - Zcash 2.0.7 RPC Docs + zcrawreceive - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

zcrawreceive - Zcash 2.0.7 RPC

+

zcrawreceive - Zcash 2.1.2 RPC

zcrawreceive zcsecretkey encryptednote
 
@@ -399,6 +399,9 @@ Output: {
                   importprivkey
                   
+ importpubkey +
+ importwallet
diff --git a/zcsamplejoinsplit.html b/zcsamplejoinsplit.html index 71f6e46..5c7e3da 100644 --- a/zcsamplejoinsplit.html +++ b/zcsamplejoinsplit.html @@ -3,10 +3,10 @@ - + - zcsamplejoinsplit - Zcash 2.0.7 RPC Docs + zcsamplejoinsplit - Zcash 2.1.2 RPC Docs @@ -25,14 +25,14 @@
-

zcsamplejoinsplit - Zcash 2.0.7 RPC

+

zcsamplejoinsplit - Zcash 2.1.2 RPC

zcsamplejoinsplit
 
@@ -392,6 +392,9 @@ Perform a joinsplit and return the JSDescription.
                   importprivkey
                   
+ importpubkey +
+ importwallet