GetYeaByProposalId
GetYeaByProposalId returns the yes vote weight of a proposal.
Parameters:
- proposalId: proposal identifier to inspect
Returns:
- int64: total voting weight recorded for yes votes
- error: nil on success, or an error when the proposal does not exist
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/gov/governance.GetYeaByProposalId()"
Result