/cosmos/gov/v1/proposals/{proposal_id}/tally

TallyResult queries the tally of a proposal vote.

Parameters:

proposal_id - string, proposal_id defines the unique id of the proposal.

Example:

// Request
curl -X GET -H 'Content-Type: application/json' https://zetachain.blockpi.network/lcd/v1/<your-api-key>/cosmos/gov/v1/proposals/1/tally

// Result
{
  "tally": {
    "yes": "0",
    "abstain": "0",
    "no": "0",
    "no_with_veto": "0"
  }
}

Last updated