Tally

TallyResult returns the tally result of a proposal. If the proposal is still in voting period, then this query computes the current tally state, which might not be final. On the other hand, if the proposal is final, then it simply returns the `final_tally_result` state stored in the proposal itself.

get
Path parameters
proposal_idstring · uint64Required

proposal_id is the unique id of a proposal.

Responses
200
A successful response.
application/json
get
GET /cosmos/group/v1/proposals/{proposal_id}/tally HTTP/1.1
Host: zetachain.nownodes.io
Accept: */*
{
  "tally": {
    "yes_count": "text",
    "abstain_count": "text",
    "no_count": "text",
    "no_with_veto_count": "text"
  }
}