mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
parent
80b5d0ddaf
commit
3c921f6df7
1 changed files with 49 additions and 3 deletions
|
@ -433,13 +433,46 @@ The `gobject count` RPC returns the count of governance objects and votes.
|
|||
|
||||
{% enditemplate %}
|
||||
|
||||
|
||||
**Command Mode - `json`**
|
||||
|
||||
*Result---count of governance objects and votes*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
- n: "`result`"
|
||||
t: "string"
|
||||
- n: "Result"
|
||||
t: "object"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The count of governance objects and votes"
|
||||
d: "Information about the governance object"
|
||||
|
||||
- n: "→<br>`objects_total`"
|
||||
t: "int"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "Total object count"
|
||||
|
||||
- n: "→<br>`proposals`"
|
||||
t: "int"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "Proposal count"
|
||||
|
||||
- n: "→<br>`triggers`"
|
||||
t: "int"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "Trigger count"
|
||||
|
||||
- n: "→<br>`other`"
|
||||
t: "int"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "Non-proposal/trigger count"
|
||||
|
||||
- n: "→<br>`erased`"
|
||||
t: "int"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "Erased count"
|
||||
|
||||
- n: "→<br>`votes`"
|
||||
t: "int"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "Vote count"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
|
@ -461,6 +494,19 @@ Result (wrapped):
|
|||
}
|
||||
{% endhighlight %}
|
||||
|
||||
|
||||
**Command Mode - `all`**
|
||||
|
||||
*Result---count of governance objects and votes*
|
||||
|
||||
{% itemplate ntpd1 %}
|
||||
- n: "`result`"
|
||||
t: "string"
|
||||
p: "Required<br>(exactly 1)"
|
||||
d: "The count of governance objects and votes"
|
||||
|
||||
{% enditemplate %}
|
||||
|
||||
*Example from Dash Core 0.12.3 (mode: `all`)*
|
||||
|
||||
{% highlight bash %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue