mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
RPC - Update getblock - add cbTx
This commit is contained in:
parent
8dad4f164e
commit
b09853cf92
1 changed files with 41 additions and 0 deletions
|
@ -3,6 +3,7 @@ This file is licensed under the MIT License (MIT) available on
|
|||
http://opensource.org/licenses/MIT.
|
||||
{% endcomment %}
|
||||
{% assign filename="_includes/devdoc/dash-core/rpcs/rpcs/getblock.md" %}
|
||||
<!--__-->
|
||||
|
||||
##### GetBlock
|
||||
{% include helpers/subhead-links.md %}
|
||||
|
@ -96,6 +97,26 @@ The `getblock` RPC {{summary_getBlock}}
|
|||
p: "Required<br>(1 or more)"
|
||||
d: "The TXID of a transaction in this block, encoded as hex in RPC byte order"
|
||||
|
||||
- n: "→<br>`cbTx`"
|
||||
t: "object"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "Coinbase special transaction details"
|
||||
|
||||
- n: "→ →<br>`version`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The version of the Coinbase special transaction (CbTx)"
|
||||
|
||||
- n: "→ →<br>`height`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The height of this block on its block chain"
|
||||
|
||||
- n: "→ →<br>`merkleRootMNList`"
|
||||
t: "string (hex)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The merkle root for the masternode list"
|
||||
|
||||
- n: "→<br>`time`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
|
@ -191,6 +212,26 @@ The `getblock` RPC {{summary_getBlock}}
|
|||
|
||||
{{INCLUDE_DECODE_RAW_TRANSACTION}}
|
||||
|
||||
- n: "→<br>`cbTx`"
|
||||
t: "object"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "Coinbase special transaction details"
|
||||
|
||||
- n: "→ →<br>`version`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The version of the Coinbase special transaction (CbTx)"
|
||||
|
||||
- n: "→ →<br>`height`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The height of this block on its block chain"
|
||||
|
||||
- n: "→ →<br>`merkleRootMNList`"
|
||||
t: "string (hex)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The merkle root for the masternode list"
|
||||
|
||||
- n: "→<br>`time`"
|
||||
t: "number (int)"
|
||||
p: "Required<br>(exactly 1)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue