Governance (v1)
On-chain token-holder governance, active on mainnet: the governance_enabled_from_height = 8,900,000 gate has been reached and ChainParams.governance is configured (validator-quorum authority). These methods respond with live proposal/vote state; builders return unsigned tx material (no keys).
11 methods · verified against the live mainnet RPC at https://rpc.sumchain.io.
gov_buildCreateProposalBuild an unsigned create-proposal transaction to sign and broadcast.
gov_buildCastVoteBuild an unsigned cast-vote transaction.
gov_buildExecuteProposalBuild an unsigned execute-proposal transaction.
gov_buildCancelProposalBuild an unsigned cancel-proposal transaction. The proposer can self-cancel with no approvals; any other canceller supplies a validator-quorum (approvals). There is no single council address.
gov_getProposalProposal by id.
gov_listProposalsAll proposals.
gov_listActiveProposalsProposals currently in the voting state.
gov_getTallyTally from a proposal’s frozen snapshot and cast votes.
gov_getVoteA voter’s vote on a proposal.
gov_getVotingPowerA holder’s frozen snapshot voting power for a proposal.
gov_listEligibleAssetsRegistered governance assets with status and effective height.