---
updatedAt: 2025-06-11T20:39:23.000Z
agentTools:
  projectIndex: https://docs.allthatnode.com/llms.txt
---

# _getProposalVotesByIdAndVoter

Vote queries voted information based on proposalID, voterAddr.

# Parameters

### path

* `proposal_id`: `STRING` - The unique id of the proposal.
* `voter`: `STRING` - The voter address for the proposals.

```curl Example
curl "https://cosmos-mainnet-archive.allthatnode.com:1317/cosmos/gov/v1beta1/proposals/804/votes/cosmos1qq5k26kkjydu37wkyaua4wz6r7vf8ljkuqktkd" \
-H 'x-allthatnode-api-key: 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj'
```

# Returns

* `OBJECT` - Voted information based on proposalID, voterAddr.

```json Example
{
  "vote": {
    "proposal_id": "804",
    "voter": "cosmos1qq5k26kkjydu37wkyaua4wz6r7vf8ljkuqktkd",
    "option": "VOTE_OPTION_YES",
    "options": [
      {
        "option": "VOTE_OPTION_YES",
        "weight": "1.000000000000000000"
      }
    ]
  }
}
```

***

# Try Yourself

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "cosmos-hub-lcd-rest",
    "version": "0.5.0"
  },
  "servers": [
    {
      "url": "https://cosmos-mainnet-archive.allthatnode.com:1317"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}": {
      "get": {
        "summary": "_getProposalVotesByIdAndVoter",
        "description": "Vote queries voted information based on proposalID, voterAddr.",
        "operationId": "proposalsproposal_idvotesvoter",
        "parameters": [
          {
            "name": "proposal_id",
            "in": "path",
            "description": "The unique id of the proposal.",
            "schema": {
              "type": "string",
              "default": "804"
            },
            "required": true
          },
          {
            "name": "x-allthatnode-api-key",
            "in": "header",
            "description": "All That Node API key",
            "required": true,
            "schema": {
              "type": "string",
              "default": "8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj"
            }
          },
          {
            "name": "voter",
            "in": "path",
            "description": "The oter address for the proposals.",
            "schema": {
              "type": "string",
              "default": "cosmos1qq5k26kkjydu37wkyaua4wz6r7vf8ljkuqktkd"
            },
            "required": true
          }
        ],
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```