Updating CLI commands for v2.0.1
This commit is contained in:
parent
e4ecea1423
commit
80da6531bc
|
@ -48,6 +48,7 @@ Result:
|
|||
"keypoolsize": xxxx, (numeric) how many new keys are pre-generated
|
||||
"unlocked_until": ttt, (numeric) the timestamp in seconds since epoch (midnight Jan 1 1970 GMT) that the wallet is unlocked for transfers, or 0 if the wallet is locked
|
||||
"paytxfee": x.xxxx, (numeric) the transaction fee configuration, set in ZEC/kB
|
||||
"seedfp": "uint256", (string) the BLAKE2b-256 hash of the HD seed
|
||||
}
|
||||
|
||||
Examples:
|
||||
|
|
|
@ -68,6 +68,7 @@ Arguments:
|
|||
"ALL|ANYONECANPAY"
|
||||
"NONE|ANYONECANPAY"
|
||||
"SINGLE|ANYONECANPAY"
|
||||
5. "branchid" (string, optional) The hex representation of the consensus branch id to sign with. This can be used to force signing with consensus rules that are ahead of the node's current height.
|
||||
|
||||
Result:
|
||||
{
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
Returns the balance of a taddr or zaddr belonging to the node’s wallet.
|
||||
|
||||
CAUTION: If address is a watch-only zaddr, the returned balance may be larger than the actual balance,
|
||||
because spends cannot be detected with incoming viewing keys.
|
||||
CAUTION: If the wallet has only an incoming viewing key for this address, then spends cannot be
|
||||
detected, and so the returned balance may be larger than the actual balance.
|
||||
|
||||
Arguments:
|
||||
1. "address" (string) The selected address. It may be a transparent or private address.
|
||||
|
|
|
@ -38,8 +38,9 @@
|
|||
|
||||
Return the total value of funds stored in the node’s wallet.
|
||||
|
||||
CAUTION: If the wallet contains watch-only zaddrs, the returned private balance may be larger than the actual balance,
|
||||
because spends cannot be detected with incoming viewing keys.
|
||||
CAUTION: If the wallet contains any addresses for which it only has incoming viewing keys,
|
||||
the returned private balance may be larger than the actual balance, because spends cannot
|
||||
be detected with incoming viewing keys.
|
||||
|
||||
Arguments:
|
||||
1. minconf (numeric, optional, default=1) Only include private and transparent transactions confirmed at least this many times.
|
||||
|
@ -48,7 +49,7 @@ Arguments:
|
|||
Result:
|
||||
{
|
||||
"transparent": xxxxx, (numeric) the total balance of transparent funds
|
||||
"private": xxxxx, (numeric) the total balance of private funds
|
||||
"private": xxxxx, (numeric) the total balance of private funds (in both Sprout and Sapling addresses)
|
||||
"total": xxxxx, (numeric) the total balance of both transparent and private funds
|
||||
}
|
||||
|
||||
|
|
|
@ -40,13 +40,14 @@ Returns array of unspent shielded notes with between minconf and maxconf (inclus
|
|||
Optionally filter to only include notes sent to specified addresses.
|
||||
When minconf is 0, unspent notes with zero confirmations are returned, even though they are not immediately spendable.
|
||||
Results are an array of Objects, each of which has:
|
||||
{txid, jsindex, jsoutindex, confirmations, address, amount, memo}
|
||||
{txid, jsindex, jsoutindex, confirmations, address, amount, memo} (Sprout)
|
||||
{txid, outindex, confirmations, address, amount, memo} (Sapling)
|
||||
|
||||
Arguments:
|
||||
1. minconf (numeric, optional, default=1) The minimum confirmations to filter
|
||||
2. maxconf (numeric, optional, default=9999999) The maximum confirmations to filter
|
||||
3. includeWatchonly (bool, optional, default=false) Also include watchonly addresses (see 'z_importviewingkey')
|
||||
4. "addresses" (string) A json array of zaddrs to filter on. Duplicate addresses not allowed.
|
||||
4. "addresses" (string) A json array of zaddrs (both Sprout and Sapling) to filter on. Duplicate addresses not allowed.
|
||||
[
|
||||
"address" (string) zaddr
|
||||
,...
|
||||
|
@ -57,7 +58,8 @@ Result
|
|||
{
|
||||
"txid" : "txid", (string) the transaction id
|
||||
"jsindex" : n (numeric) the joinsplit index
|
||||
"jsoutindex" : n (numeric) the output index of the joinsplit
|
||||
"jsoutindex" (sprout) : n (numeric) the output index of the joinsplit
|
||||
"outindex" (sapling) : n (numeric) the output index
|
||||
"confirmations" : n (numeric) the number of confirmations
|
||||
"spendable" : true|false (boolean) true if note can be spent by wallet, false if note has zero confirmations, false if address is watchonly
|
||||
"address" : "address", (string) the shielded address
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
<pre>z_sendmany "fromaddress" [{"address":... ,"amount":...},...] ( minconf ) ( fee )
|
||||
|
||||
Send multiple times. Amounts are double-precision floating point numbers.
|
||||
Change from a taddr flows to a new taddr address, while change from zaddr returns to itself.
|
||||
Change generated from a taddr flows to a new taddr address, while change generated from a zaddr returns to itself.
|
||||
When sending coinbase UTXOs to a zaddr, change is not allowed. The entire value of the UTXO(s) must be consumed.
|
||||
Before Sapling activates, the maximum number of zaddr outputs is 54 due to transaction size limits.
|
||||
|
||||
|
|
Loading…
Reference in New Issue