GovernanceService

Note: This service is experimental (alpha) and subject to change.

The Governance Service includes three endpoints to retrieve information about AGL accounts, governance proposals, and proposal vote receipts. You can use the APIs below to pull data about the Agile governance system:

  // Retreives a list of governance proposals
  fetch("https://api.agile.finance/api/governance/proposals");

  // Retreives a list of governance proposal vote receipts
  fetch("https://api.agile.finance/api/governance/proposal_vote_receipts");

  // Retreives a list of AGL accounts
  fetch("https://api.agile.finance/api/governance/accounts");
GET: /governance/proposalsget-governance-proposal:vote:receipts.mdGET: /governance/accounts

Last updated