Votes by voter

VotesByVoter queries a vote by voter.

GEThttps://coreum.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 cosmos.group.v1.Vote (object)

votes are the list of votes by given voter.

paginationcosmos.base.query.v1beta1.PageResponse (object)

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; }

Request
const response = await fetch('https://coreum.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": "2024-12-22T02:21:46.977Z"
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  }
}