proposal_id is the unique ID of a proposal.
A successful response.
votes are the list of votes for given proposal_id.
pagination defines the pagination in the response.
const response = await fetch('https://luna.nownodes.io/cosmos/group/v1/votes_by_proposal/{proposal_id}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "votes": [ { "proposal_id": "text", "voter": "text", "option": "VOTE_OPTION_UNSPECIFIED", "metadata": "text", "submit_time": "2024-12-22T01:45:17.075Z" } ], "pagination": { "next_key": "Ynl0ZXM=", "total": "text" } }