Documentation exported from Syscoin Core 4.4.1

gobject_getcurrentvotes (4.4.1 RPC)

blockchain

control

evo

evowallet

governance

governancewallet

masternode

mining

network

rawtransactions

signer

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, optional) Masternode collateral txid.
3. vout              (numeric, optional) 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/