Annex Docs
Annex Docs
Search…
⌃K

GET: /governance/accounts

GovernanceAccountRequest
The request to the Governance Account API can specify a number of filters, such as which accounts to retrieve information about.
Type
Key
Description
bytes
addresses
A list of accounts to filter on, e.g.:?addresses=0x...
string
order_by
Filter for accounts by. E.g. “votes” | “balance” | “proposals_created” (reserved)
bool
with_history
Will populate a list of transaction history for the accounts when request is submittedwith_history=true (reserved)
uint32
limit
Number of accounts to include in the response, default is 100
uint32
offset
Pagination offset for accounts in the response, default is 0
GovernanceAccountResponse
The Governance Account API returns a list of accounts that match the given filters on the request
Type
Key
Description
bool
status
If set false, indicates an error returning data.
AnnexAccountData
data
The list of governance accounts matching the requested filter
AnnexAccountData
Type
Key
Description
uint32
offset
Offset of pagination
uint32
limit
Limit of pagination
uint32
total
Total count of pagination
AnnexAccount
result
The list of governance accounts matching the requested filter
AnnexAccount
Type
Key
Description
uuid
id
Unique id of AnnexAccount
bytes
address
The address of the given ANN account
float
voteWeight
The percentage of voting weight of total ANN
uint32
proposalsVoted
The number of proposals voted on in the Annex Governance System
string
votes
Voting power
datetime
createdAt
Created timestamp
datetime
updatedAt
Updated timestamp