GET: /voter/accounts

GET: /voter/accounts

VoterAccountRequest

The Voter Accounts API retrieves information about all accounts that have participated in governance voting.

Request Parameters

Type
Key
Description

uint32

page

Page number for pagination

uint32

limit

Number of results per page

VoterAccountResponse

The API returns a list of voter accounts, including participation details and governance influence.

Response Structure

Type
Key
Description

Struct

metadata

Metadata on request (see VoterAccountMetadata)

repeated Voter

data

List of voters (see Voter below)

VoterAccountMetadata

Pagination metadata for the voter list.

Type
Key
Description

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

Voter Object

A detailed structure representing voter participation metrics.

Type
Key
Description

uint32

rank

Rank of the voter based on voting activity

double

chnStake

Amount of XCN staked by the voter

uint32

proposalsVoted

Number of proposals the voter has participated in

string

voteWeight

Voter's total influence weight in governance

Usage Notes

  • Retrieving Voter Data: Use this endpoint to fetch detailed voting activity across governance participants.

  • Sorting by Voting Influence: The rank field allows sorting of top governance participants.

  • Monitoring Staked Influence: The chnStake field indicates the staked CHN backing each voter.

  • Proposal Participation Metrics: The proposalsVoted value reflects engagement in governance.

  • Calculating Voting Power: The voteWeight provides insights into voter impact in decision-making.

Last updated