proposal
List proposal info
Changed onReturns a paginated list of governance proposals. Supports filtering by proposer address, status, and type.
get/proposal
Request
- Base URLapi-mainnet.celenium.io (relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header apikey
Query parameters
limitinteger
Count of requested entities
offsetinteger
Offset
sort'asc' | 'desc'
Sort order. Default: desc
proposerstring
Proposer celestia address
statusstring[]
Comma-separated proposal status list
typestring[]
Comma-separated proposal type list
Response
OK
Example response
[
{
"abstain": 1234,
"abstain_addrs": 1234,
"abstain_vals": 1234,
"abstain_voting_power": "1000000000",
"activation_time": "2023-07-04T03:10:57+00:00",
"created_at": "2023-07-04T03:10:57+00:00",
"deposit": "1000000000",
"deposit_time": "2023-07-04T03:10:57+00:00",
"description": "Some proposal description",
"end_time": "2023-07-04T03:10:57+00:00",
"error": "Some error text",
"expedited": true,
"height": 100,
"id": 321,
"metadata": "metadata",
"min_deposit": "0.33",
"no": 1234,
"no_addrs": 1234,
"no_vals": 1234,
"no_voting_power": "1000000000",
"no_with_veto": 1234,
"no_with_veto_addrs": 1234,
"no_with_veto_vals": 1234,
"no_with_veto_voting_power": "1000000000",
"proposer": {
"celestials": {
"image_url": "https://ipfs.io/ipfs/QmUi269vE25fagqhyMCCTNSoiW6x4LHCwwQb3keSrEXAmC",
"name": "name",
"primary": true,
"status": "VERIFIED"
},
"hash": "celestia1jc92qdnty48pafummfr8ava2tjtuhfdw774w60"
},
"quorum": "0.33",
"status": "active",
"threshold": "0.33",
"title": "Proposal title",
"total_voting_power": "1000000000",
"type": "param_changed",
"veto_quorum": "0.33",
"votes_count": 12354,
"voting_power": "1000000000",
"yes": 1234,
"yes_addrs": 1234,
"yes_vals": 1234,
"yes_voting_power": "1000000000"
}
]Changes
- info
endpoint added
- info