---
title: "TallyResult returns the tally result of a proposal. If the proposal is still in voting period, then this query computes the current tally state, which might not be final. On the other hand, if the proposal is final, then it simply returns the `final_tally_result` state stored in the proposal itself."
method: GET
path: "/cosmos/group/v1/proposals/{proposalId}/tally"
tags: ["Query"]
---

# TallyResult returns the tally result of a proposal. If the proposal is still in voting period, then this query computes the current tally state, which might not be final. On the other hand, if the proposal is final, then it simply returns the \`final_tally_result\` state stored in the proposal itself.

`GET /cosmos/group/v1/proposals/{proposalId}/tally`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/haqq-network/apis/haqq-network-grpc-api/docs/cosmos/group/v1/proposals/:proposalId/tally/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `proposalId` string, uint64, required

## Response `200`

A successful response.

- CosmosGroupV1QueryTallyResultResponse: QueryTallyResultResponse is the Query/TallyResult response type.
  - `tally` CosmosGroupV1TallyResult: TallyResult represents the sum of weighted votes for each vote option.
    - `yesCount` string: yes_count is the weighted sum of yes votes.
    - `abstainCount` string: abstain_count is the weighted sum of abstainers.
    - `noCount` string: no_count is the weighted sum of no votes.
    - `noWithVetoCount` string: no_with_veto_count is the weighted sum of veto.

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/haqq-network/apis/haqq-network-grpc-api.md) - [All operations](https://skmtc.dev/haqq-network/apis/haqq-network-grpc-api/llms.txt) - [OpenAPI document](https://skmtc.dev/haqq-network/apis/haqq-network-grpc-api/revisions/2d0419923f40?raw)
