gobject
gobject "command" ...
Set of commands to manage governance objects.
# Available commands:
check - Validate governance object data (proposal only)
prepare - Prepare governance object by signing and creating tx
submit - Submit governance object to network
deserialize - Deserialize governance object from hex string to JSON
count - Count governance objects and votes (additional param: 'json' or 'all', default: 'json')
get - Get governance object by hash
getcurrentvotes - Get only current (tallying) votes for a governance object hash (does not include old votes)
list - List governance objects (can be filtered by signal and/or object type)
diff - List differences since last diff
vote-alias - Vote on a governance object by smartnode proTxHash
vote-conf - Vote on a governance object by smartnode configured in yerbas.conf
vote-many - Vote on a governance object by all smartnodes for which the voting key is in the wallet
yerbas-cli gobject count
Output
Result | Type | Description |
---|---|---|
... | ... | ... |
Result:
{
...
}
Examples
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "gobject", "params": ["check"] }' -H 'content-type: text/plain;' http://127.0.0.1:9998/