# GET: /voter/accounts

## GET: /voter/accounts

### VoterAccountRequest

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

Request Parameters

<table><thead><tr><th valign="middle">Type</th><th valign="middle">Key</th><th valign="middle">Description</th></tr></thead><tbody><tr><td valign="middle">uint32</td><td valign="middle"><code>page</code></td><td valign="middle">Page number for pagination</td></tr><tr><td valign="middle">uint32</td><td valign="middle"><code>limit</code></td><td valign="middle">Number of results per page</td></tr></tbody></table>

### VoterAccountResponse

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

Response Structure

<table><thead><tr><th valign="middle">Type</th><th valign="middle">Key</th><th valign="middle">Description</th></tr></thead><tbody><tr><td valign="middle">Struct</td><td valign="middle"><code>metadata</code></td><td valign="middle">Metadata on request (see <strong>VoterAccountMetadata</strong>)</td></tr><tr><td valign="middle">repeated Voter</td><td valign="middle"><code>data</code></td><td valign="middle">List of voters (see Voter below)</td></tr></tbody></table>

### &#x20;VoterAccountMetadata

Pagination metadata for the voter list.

<table><thead><tr><th valign="middle">Type</th><th valign="middle">Key</th><th valign="middle">Description</th></tr></thead><tbody><tr><td valign="middle">uint32</td><td valign="middle"><code>page</code></td><td valign="middle">Current page number</td></tr><tr><td valign="middle">uint32</td><td valign="middle"><code>limit</code></td><td valign="middle">Results per page</td></tr><tr><td valign="middle">uint32</td><td valign="middle"><code>totalItem</code></td><td valign="middle">Total number of voters recorded</td></tr><tr><td valign="middle">uint32</td><td valign="middle"><code>totalPage</code></td><td valign="middle">Total number of pages for given limit</td></tr></tbody></table>

### Voter Object

A detailed structure representing voter participation metrics.

<table><thead><tr><th valign="middle">Type</th><th valign="middle">Key</th><th valign="middle">Description</th></tr></thead><tbody><tr><td valign="middle">uint32</td><td valign="middle"><code>rank</code></td><td valign="middle">Rank of the voter based on voting activity</td></tr><tr><td valign="middle">double</td><td valign="middle"><code>chnStake</code></td><td valign="middle">Amount of XCN staked by the voter</td></tr><tr><td valign="middle">uint32</td><td valign="middle"><code>proposalsVoted</code></td><td valign="middle">Number of proposals the voter has participated in</td></tr><tr><td valign="middle">string</td><td valign="middle"><code>voteWeight</code></td><td valign="middle">Voter's total influence weight in governance</td></tr></tbody></table>

#### 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.

<br>

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.onyx.org/api/get-voter-accounts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
