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

# Votes queries votes of a given proposal.

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

## Path parameters

- `proposalId` string, uint64, required

## Query parameters

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

## Response `200`

A successful response.

- CosmosGovV1QueryVotesResponse — QueryVotesResponse is the response type for the Query/Votes RPC method.
  - `votes` CosmosGovV1Vote[] — votes defines the queried votes.
    - `proposalId` string, uint64 — proposal_id defines the unique id of the proposal.
    - `voter` string — voter is the voter address of the proposal.
    - `options` CosmosGovV1WeightedVoteOption[] — options is the weighted vote options.
      - `option` 'VOTE_OPTION_UNSPECIFIED' | 'VOTE_OPTION_YES' | 'VOTE_OPTION_ABSTAIN' | 'VOTE_OPTION_NO' | 'VOTE_OPTION_NO_WITH_VETO' — VoteOption enumerates the valid vote options for a given governance proposal. - VOTE_OPTION_UNSPECIFIED: VOTE_OPTION_UNSPECIFIED defines a no-op vote option. - VOTE_OPTION_YES: VOTE_OPTION_YES defines a yes vote option. - VOTE_OPTION_ABSTAIN: VOTE_OPTION_ABSTAIN defines an abstain vote option. - VOTE_OPTION_NO: VOTE_OPTION_NO defines a no vote option. - VOTE_OPTION_NO_WITH_VETO: VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.
      - `weight` string — weight is the vote weight associated with the vote option.
    - `metadata` string
  - `pagination` CosmosBaseQueryV1beta1PageResponse — PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
    - `nextKey` 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.net/haqq-network/apis/haqq-network-grpc-api.md) · [All operations](https://skmtc.net/haqq-network/apis/haqq-network-grpc-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/haqq-network/haqq-network-grpc-api/versions/2d0419923f40/schema)
