Terp Network Docs
APIsOpenapiQuery
GET
/cosmos/gov/v1/proposals/{proposal_id}/tally

Path Parameters

proposal_id*string

proposal_id defines the unique id of the proposal.

Formatuint64

Response Body

application/json

application/json

curl -X GET "http://localhost:1317/cosmos/gov/v1/proposals/string/tally"
{
  "tally": {
    "yes_count": "string",
    "abstain_count": "string",
    "no_count": "string",
    "no_with_veto_count": "string"
  }
}
{
  "error": "string",
  "code": 0,
  "message": "string",
  "details": [
    {
      "type_url": "string",
      "value": "string"
    }
  ]
}