GET: /voter/:proposalId
GET: /voter/:proposalId
VoterProposalRequest
The request to the Voter Proposal API allows filtering by specific accounts and voting support status.
Request Parameters
boolean
support
Filter by voter support (true for yes, false for no)
uint32
limit
Number of results per page
VoterProposalResponse
The API returns a list of voters who participated in the specified proposal, along with their vote details.
Response Structure
Struct
metadata
Metadata on request (see VoterMetadata)
Struct
data
List of voters (see Voter)
VoterMetadata
Pagination and summary metadata for the voter list.
uint32
page
Current page number
uint32
limit
Results per page
uint32
totalItem
Total number of voters recorded
uint32
totalPage
Total number of pages for given limit
string
sumVotes
The total number of votes cast
Voter Object
A detailed structure representing a voter's participation in a governance proposal.
bytes
id
Unique voter ID
string
address
Voter's Ethereum address
uint32
has_voted
1 if voted, 0 otherwise
uint32
support
1 for yes, 0 for no
uint32
proposal_id
Proposal ID associated with the vote
uint32
block_number
Block number when the vote was cast
uint32
block_timestamp
Timestamp when the vote was recorded
Timestamp
created_at
Vote record creation timestamp
Timestamp
updated_at
Last update timestamp
string
votes
Number of votes cast by the voter
Usage Notes
Retrieving Voter Data: Use this endpoint to fetch detailed information on voters participating in a given proposal.
Filtering by Support Status: The support parameter allows querying for supporting or opposing votes.
Tracking Voting Trends: The sumVotes metadata field provides a total count of votes cast.
Monitoring Individual Voting Activity: Each voter entry includes timestamps, block numbers, and vote counts.
Last updated