---
title: "Votes queries votes of a given proposal."
method: GET
path: "/cosmos/gov/v1/proposals/{proposal_id}/votes"
tags: ["Query"]
---

# Votes queries votes of a given proposal.

`GET /cosmos/gov/v1/proposals/{proposal_id}/votes`

## Request

- Base URL: `https://api.nymtech.net` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nymtech.net/cosmos/gov/v1/proposals/{proposal_id}/votes`
- Auth: none declared
- TypeScript: <https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/docs/cosmos/gov/v1/proposals/:proposal_id/votes/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `proposal_id` string, uint64, required

## Query parameters

- `pagination.key` string, byte
- `pagination.offset` string, uint64
- `pagination.limit` string, uint64
- `pagination.count_total` boolean
- `pagination.reverse` boolean

## Response `200`

A successful response.

- object: QueryVotesResponse is the response type for the Query/Votes RPC method.
  - `votes` object[]: votes defines the queried votes.
    - `proposal_id` string, uint64: proposal_id defines the unique id of the proposal.
    - `voter` string: voter is the voter address of the proposal.
    - `options` object[]: options is the weighted vote options.
      - `option` 'VOTE_OPTION_UNSPECIFIED' | 'VOTE_OPTION_YES' | 'VOTE_OPTION_ABSTAIN' | 'VOTE_OPTION_NO' | 'VOTE_OPTION_NO_WITH_VETO': option defines the valid vote options, it must not contain duplicate vote options.
      - `weight` string: weight is the vote weight associated with the vote option.
    - `metadata` string
  - `pagination` object: pagination defines the pagination in the response.
    - `next_key` string, byte: next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
    - `total` string, uint64

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/revisions/46fa771059b6?raw)
