Documentation exported from Syscoin Core 4.4.1

getgovernanceinfo (4.4.1 RPC)

blockchain

control

evo

evowallet

governance

governancewallet

masternode

mining

network

rawtransactions

signer

syscoin

syscoinwallet

util

wallet

zmq

getgovernanceinfo

Returns an object containing governance parameters.

Result:
{                               (json object)
  "governanceminquorum" : n,    (numeric) The absolute minimum number of votes needed to trigger a governance action
  "proposalfee" : n,            (numeric) The collateral transaction fee which must be paid to create a proposal in SYS
  "superblockcycle" : n,        (numeric) The number of blocks between superblocks
  "lastsuperblock" : n,         (numeric) The block number of the last superblock
  "nextsuperblock" : n          (numeric) The block number of the next superblock
}

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