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.

AquariusAccountData

data

The list of governance accounts matching the requested filter

AquariusAccountData

Type

Key

Description

uint32

offset

Offset of pagination

uint32

limit

Limit of pagination

uint32

total

Total count of pagination

AquariusAccount

result

The list of governance accounts matching the requested filter

AquariusAccount

Type
Key
Description

uuid

id

Unique id of AquariusAccount

bytes

address

The address of the given ARS account

float

voteWeight

The percentage of voting weight of total ARS

uint32

proposalsVoted

The number of proposals voted on in the Aquarius Governance System

string

votes

Voting power

datetime

createdAt

Created timestamp

datetime

updatedAt

Updated timestamp

Last updated