Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Tally

TallyResult queries the tally of a proposal vote.

get
Path parameters
proposal_idstring · uint64Required

proposal_id defines the unique id of the proposal.

Responses
200

A successful response.

application/json

QueryTallyResultResponse is the response type for the Query/Tally RPC method.

get/cosmos/gov/v1beta1/proposals/{proposal_id}/tally
GET /cosmos/gov/v1beta1/proposals/{proposal_id}/tally HTTP/1.1
Accept: */*
{
  "tally": {
    "yes": "text",
    "abstain": "text",
    "no": "text",
    "no_with_veto": "text"
  }
}

Last updated

Was this helpful?