mirror of https://github.com/zcash/rpc.git
generate for 4.6.0
This commit is contained in:
parent
087e143755
commit
026b0b829b
|
@ -44,6 +44,11 @@ To obtain information about founder's reward or funding stream
|
|||
amounts, use 'getblocksubsidy HEIGHT' passing in the height returned
|
||||
by this API.
|
||||
|
||||
The roots returned in 'defaultroots' are only valid if the block template is
|
||||
used unmodified. If any part of the block template marked as 'mutable' in the
|
||||
output is mutated, these roots may need to be recomputed. For more information
|
||||
on the derivation process, see ZIP 244.
|
||||
|
||||
Arguments:
|
||||
1. "jsonrequestobject" (string, optional) A json object in the following spec
|
||||
{
|
||||
|
@ -60,9 +65,15 @@ Result:
|
|||
{
|
||||
"version" : n, (numeric) The block version
|
||||
"previousblockhash" : "xxxx", (string) The hash of current highest block
|
||||
"blockcommitmentshash" : "xxxx", (string) The hash of the block commitments field in the block header
|
||||
"blockcommitmentshash" : "xxxx", (string) (DEPRECATED) The hash of the block commitments field in the block header
|
||||
"lightclientroothash" : "xxxx", (string) (DEPRECATED) The hash of the light client root field in the block header
|
||||
"finalsaplingroothash" : "xxxx", (string) (DEPRECATED) The hash of the light client root field in the block header
|
||||
"defaultroots" : { (json object) root hashes that need to be recomputed if the transaction set is modified
|
||||
"merkleroot" : "xxxx" (string) The hash of the transactions in the block header
|
||||
"authdataroot" : "xxxx" (string) The hash of the authorizing data merkel tree
|
||||
"chainhistoryroot" : "xxxx" (string) The hash of the chain history
|
||||
"blockcommitmentshash" : "xxxx" (string) The hash of the block commitments field in the block header
|
||||
}
|
||||
"transactions" : [ (array) contents of non-coinbase transactions that should be included in the next block
|
||||
{
|
||||
"data" : "xxxx", (string) transaction data encoded in hexadecimal (byte-for-byte)
|
||||
|
|
|
@ -40,8 +40,8 @@ Returns a json object containing mining-related information.
|
|||
Result:
|
||||
{
|
||||
"blocks": nnn, (numeric) The current block
|
||||
"currentblocksize": nnn, (numeric) The last block size
|
||||
"currentblocktx": nnn, (numeric) The last block transaction
|
||||
"currentblocksize": nnn, (numeric, optional) The block size of the last assembled block (only present if a block was ever assembled)
|
||||
"currentblocktx": nnn, (numeric, optional) The number of block non-coinbase transactions of the last assembled block (only present if a block was ever assembled)
|
||||
"difficulty": xxx.xxxxx (numeric) The current difficulty
|
||||
"errors": "..." (string) Current errors
|
||||
"generate": true|false (boolean) If the generation is on or off (see getgenerate or setgenerate calls)
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
|
||||
<nav class="navbar navbar-dark bg-dark ">
|
||||
<a class="navbar-brand" href="/">Zcash 4.5.1-1 RPC docs</a>
|
||||
<a class="navbar-brand" href="/">Zcash 4.4.0 RPC docs</a>
|
||||
</nav>
|
||||
|
||||
<main role="main" class="container-fluid" style="margin-top: 1pc;">
|
||||
|
|
|
@ -64,7 +64,7 @@ Result
|
|||
"spendable" : true|false, (boolean) true if note can be spent by wallet, false if address is watchonly
|
||||
"address" : "address", (string) the shielded address
|
||||
"amount": xxxxx, (numeric) the amount of value in the note
|
||||
"memo": xxxxx, (string) hexademical string representation of memo field
|
||||
"memo": xxxxx, (string) hexadecimal string representation of memo field
|
||||
"change": true|false, (boolean) true if the address that received the note is also one of the sending addresses
|
||||
}
|
||||
,...
|
||||
|
|
|
@ -70,7 +70,7 @@ Result:
|
|||
"outgoing" : true|false (boolean, sapling) True if the output is not for an address in the wallet
|
||||
"value" : x.xxx (numeric) The amount in ZEC
|
||||
"valueZat" : xxxx (numeric) The amount in zatoshis
|
||||
"memo" : "hexmemo", (string) Hexademical string representation of the memo field
|
||||
"memo" : "hexmemo", (string) hexadecimal string representation of the memo field
|
||||
"memoStr" : "memo", (string) Only returned if memo contains valid UTF-8 text.
|
||||
}
|
||||
,...
|
||||
|
|
Loading…
Reference in New Issue