Aquarius Documentation
  • Aquarius Loan 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
  • 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
    • ARS Distribution Speeds
    • Claim ARS
    • Market Metadata
  • Governance
    • Delegate
    • Delegate By Signature
    • Get Current Votes
    • Get Prior Votes
    • Key Events
    • Governor Bravo
    • Quorum Votes
    • Proposal Threshold
    • Proposal Max Operations
    • Voting Delay
    • Voting Period
    • Propose
    • Queue
    • Execute
    • Cancel
    • Get Actions
    • Get Receipt
    • State
    • Cast Vote
    • Cast Vote With Reason
    • Cast Vote By Signature
    • Timelock
    • Pause Guardian
  • Reward Vesting and Staking
    • Reward Vesting
    • ARS Staking
    • Explainer Video
  • LP Staking
    • LP Utility
    • LP Staking Options
    • Zapping LP
    • Maintaining Eligibility Status
    • Explainer Video
  • 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/aquarius
      • GET: /governance/proposals
      • GET: /governance/proposal_vote_receipts
      • GET: /governance/accounts
    • Shared Data Types
  • Aquarius.js
    • Aquarius Constructor
    • API Methods
      • Account
      • aToken
      • Market History
      • Governance
    • aToken Methods
      • Supply
      • Redeem
      • Borrow
      • Repay Borrow
    • ARS Methods
      • To Checksum Address
      • Get ARS Balance
      • Get ARS Accrued
      • Claim ARS
      • 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
  • Terms of Service
Powered by GitBook
On this page
  1. API
  2. ProposalService

GET: /proposals/:id

Get proposal info by id.

ProposalsResponse‌

The API response contains the proposal data of the given proposal id.

Type
Key
Description

bool

status

If set false, indicates an error returning data.

Proposal

data

Proposal data.

Proposal

Type
Key
Description

uint32

id

Unique id for looking up a proposal

string

description

A description of the actions the proposal will take if successful

bytes

targets

The address to send the calldata to

string

values

The value of ETH to send with the transaction

string

signatures

The function signature of the function to call at the target address

string

calldatas

The encoded argument data for the action

uint32

createdBlock

Created block number

string

createdTxHash

Created transaction hash

uint32

createdTimestamp

Created block timestamp

uint32

startBlock

Started block number

string

startTxHash

Started transaction hash

uint32

startTimestamp

Started block timestamp

uint32

cancelBlock

Canceled block number

string

cancelTxHash

Canceled transaction hash

uint32

cancelTimestamp

Canceled block timestamp

uint32

endBlock

End block number

string

endTxHash

End transaction hash

uint32

endTimestamp

End block timestamp

uint32

queuedBlock

Queued block number

string

queuedTxHash

Queued transaction hash

uint32

queuedTimestamp

Queued block timestamp

uint32

executedBlock

Executed block number

string

executedTxHash

Executed transaction hash

uint32

executedTimestamp

Executed block timestamp

bytes

proposer

Proposer address

uint32

eta

eta

string

forVotes

The number of votes in support of the proposal

string

againstVotes

The number of votes in opposition to this proposal

bool

canceled

Set true if canceled

bool

executed

Set true if executed

string

state

State of "Pending", "Active", "Canceled", "Defeated", "Succeeded", "Queued", "Expired", "Executed"

uint32

voterCount

Voter count

uint32

blockNumber

Last calculated block number

PreviousGET: /proposalsNextGET: /proposals/statistics

Last updated 1 year ago