Votes by voter

VotesByVoter queries a vote by voter.

GEThttps://tia-rest.nownodes.io/cosmos/group/v1/votes_by_voter/{voter}
Path parameters
voter*string

voter is a proposal voter account address.

Query parameters
Response

A successful response.

Body
votesarray of Vote represents a vote for a proposal.string metadata

votes are the list of votes by given voter.

paginationobject

pagination defines the pagination in the response.

Request
const response = await fetch('https://tia-rest.nownodes.io/cosmos/group/v1/votes_by_voter/{voter}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "votes": [
    {
      "proposal_id": "text",
      "voter": "text",
      "option": "VOTE_OPTION_UNSPECIFIED",
      "metadata": "text",
      "submit_time": "2025-01-30T21:27:56.824Z"
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  }
}