diff --git a/_includes/devdoc/dash-core/rpcs/rpcs/gobject.md b/_includes/devdoc/dash-core/rpcs/rpcs/gobject.md index 4315b87e..19850f2e 100644 --- a/_includes/devdoc/dash-core/rpcs/rpcs/gobject.md +++ b/_includes/devdoc/dash-core/rpcs/rpcs/gobject.md @@ -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
(exactly 1)" - d: "The count of governance objects and votes" + d: "Information about the governance object" + +- n: "→
`objects_total`" + t: "int" + p: "Required
(exactly 1)" + d: "Total object count" + +- n: "→
`proposals`" + t: "int" + p: "Required
(exactly 1)" + d: "Proposal count" + +- n: "→
`triggers`" + t: "int" + p: "Required
(exactly 1)" + d: "Trigger count" + +- n: "→
`other`" + t: "int" + p: "Required
(exactly 1)" + d: "Non-proposal/trigger count" + +- n: "→
`erased`" + t: "int" + p: "Required
(exactly 1)" + d: "Erased count" + +- n: "→
`votes`" + t: "int" + p: "Required
(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
(exactly 1)" + d: "The count of governance objects and votes" + +{% enditemplate %} + *Example from Dash Core 0.12.3 (mode: `all`)* {% highlight bash %}