Documentation exported from Syscoin Core 4.3.0

gobject_getcurrentvotes (4.3.0 RPC)

blockchain

control

evo

generating

governance

masternode

mining

network

rawtransactions

signer

syscoin

util

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/