Documentation exported from Syscoin Core 4.2.2

gobject_getcurrentvotes (4.2.2 RPC)

blockchain

control

evo

evowallet

generating

governance

governancewallet

masternode

mining

network

rawtransactions

syscoin

syscoinwallet

util

wallet

zmq

gobject_getcurrentvotes "governanceHash" ( "txid" vout )

Get only current (tallying) votes for a governance object hash (does not include old votes)

Arguments:
1. governanceHash    (string, required) Object id.
2. txid              (string) Masternode collateral txid.
3. vout              (numeric) Masternode collateral output index, required if <txid> presents.

Examples:
> syscoin-cli gobject_getcurrentvotes 
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "gobject_getcurrentvotes", "params": []}' -H 'content-type: text/plain;' http://127.0.0.1:8370/