get_votes_by_proposal

@mount("votes.get_votes_by_proposal") query get_votes_by_proposal(page_cursor: text, prop_id: rowid): paged_result

Retrieves a paginated list of votes for a specific proposal. The query is used to fetch and navigate through the votes tied to a particular proposal in the paginated format.

Return

A paginated response containing a list of votes for the specified proposal and the updated cursor for the next page.

Parameters

page_cursor
  • A cursor representing the starting point for pagination.

prop_id
  • The ID of the proposal for which votes are being retrieved.