Agile Finance Docs
  • Agile Finance Documentation
  • Getting Started
    • Networks
    • Protocol Math
      • aToken and Underlying Decimals
      • Interpreting Exchange Rates
      • Calculating Accrued Interest
      • Calculating the APY Using Rate Per Block
    • Gas Costs
    • Presale Direct Deposit
  • ATokens
    • Mint
    • Redeem
    • Redeem Underlying
    • Borrow
    • Repay Borrow
    • Repay Borrow Behalf
    • Transfer
    • Liquidate Borrow
    • Key Events
    • Error Codes
    • Failure Info
    • Exchange Rate
    • Get Cash
    • Total Borrow
    • Borrow Balance
    • Borrow Rate
    • Total Supply
    • Underlying Balance
    • Supply Rate
    • Total Reserves
    • Reserve Factor
  • Comptroller
    • Enter Markets
    • Exit Market
    • Get Assets In
    • Collateral Factor
    • Get Account Liquidity
    • Close Factor
    • Liquidation Incentive
    • Key Events
    • Error Codes
    • Failure Info
    • AGL Distribution Speeds
    • Claim AGL
    • Market Metadata
  • Governance
    • Delegate
    • Delegate By Signature
    • Get Current Votes
    • Get Prior Votes
    • Key Events
    • Governor Alpha
    • Quorum Votes
    • Proposal Threshold
    • Proposal Max Operations
    • Voting Delay
    • Voting Period
    • Propose
    • Queue
    • Execute
    • Cancel
    • Get Actions
    • Get Receipt
    • State
    • Cast Vote
    • Cast Vote By Signature
    • Timelock
    • Pause Guardian
  • API
    • ATokenService
      • GET: /atoken
    • MarketHistoryService
      • GET: /market_history/graph
    • ProposalService
      • GET: /proposals
      • GET: /proposals/:id
      • GET: /proposals/statistics
    • VoterService
      • GET: /voters/accounts
      • GET: /voters/accounts/:address
      • GET: /voters/history/:address
      • GET: /voters/:proposalId
    • GovernanceService
      • GET: /governance/agile
      • GET: /governance/proposals
      • GET: /governance/proposal_vote_receipts
      • GET: /governance/accounts
    • Shared Data Types
  • Agile.js
    • Agile Constructor
    • API Methods
      • Account
      • aToken
      • Market History
      • Governance
    • aToken Methods
      • Supply
      • Redeem
      • Borrow
      • Repay Borrow
    • AGL Methods
      • To Checksum Address
      • Get AGL Balance
      • Get AGL Accrued
      • Claim AGL
      • Delegate
      • Delegate By Sig
      • Create Delegate Signature
    • Comptroller Methods
      • Enter Markets
      • Exit Market
    • Ethereum Methods
      • Read
      • Trx
      • Get Balance
    • Governance Methods
      • Cast Vote
      • Cast Vote By Sig
      • Create Vote Signature
    • Price Feed Methods
      • Get Price
    • Utility Methods
      • Get Address
      • Get ABI
      • Get Network Name With Chain ID
  • Security
    • Formal Verification
    • Bug Bounty Program
Powered by GitBook
On this page
  1. API
  2. GovernanceService

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.

AgileAccountData

data

The list of governance accounts matching the requested filter

AgileAccountData

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

AgileAccount

Type
Key
Description

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

PreviousGET: /governance/proposal_vote_receiptsNextShared Data Types

Last updated 3 years ago