GET: /governance/accounts
Last updated
Last updated
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 |
---|---|---|
GovernanceAccountResponse
The Governance Account API returns a list of accounts that match the given filters on the request
Type | Key | Description |
---|---|---|
AgileAccountData
AgileAccount
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
bool
status
If set false, indicates an error returning data.
AgileAccountData
data
The list of governance accounts matching the requested filter
Type
Key
Description
uint32
offset
Offset of pagination
uint32
limit
Limit of pagination
uint32
total
Total count of pagination
AgileAccount
result
The list of governance accounts matching the requested filter
uuid
id
Unique id of AgileAccount
bytes
address
The address of the given AGL account
float
voteWeight
The percentage of voting weight of total AGL
uint32
proposalsVoted
The number of proposals voted on in the Agile Governance System
string
votes
Voting power
datetime
createdAt
Created timestamp
datetime
updatedAt
Updated timestamp