Terp Network Docs
APIsOpenapiQuery
GET
/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}

Path Parameters

proposal_id*string

proposal_id defines the unique id of the proposal.

Formatuint64
voter*string

voter defines the voter address for the proposals.

Response Body

application/json

application/json

curl -X GET "http://localhost:1317/cosmos/gov/v1beta1/proposals/string/votes/string"
{
  "vote": {
    "proposal_id": "string",
    "voter": "string",
    "option": "VOTE_OPTION_UNSPECIFIED",
    "options": [
      {
        "option": "VOTE_OPTION_UNSPECIFIED",
        "weight": "string"
      }
    ]
  }
}
{
  "error": "string",
  "code": 0,
  "message": "string",
  "details": [
    {
      "type_url": "string",
      "value": "string"
    }
  ]
}