GET: /proposal
ProposalRequest
The request to the Proposal API can specify a number of filters, such as which ids to retrieve information about or state of proposals.
Type | Key | Description |
---|---|---|
uint32 |
| Page of pagination |
uint32 |
| Limit of pagination |
ProposalResponse
The Proposal API returns a list of proposals that match the given filters on the request in descending order by proposal_id.
Type | Key | Description |
---|---|---|
Struct |
| Metadata on request. See ProposalMetadata |
repeated Proposal |
| The list of |
ProposalMetadata
Type | Key | Description |
---|---|---|
uint32 |
| Page of pagination |
uint32 |
| Limit of pagination |
uint32 |
| Total amount of items |
uint32 |
| Total amount of pages for given |
Proposal
Type | Key | Description |
---|---|---|
uint32 |
| Unique id for looking up a proposal |
string |
| A description of the actions the proposal will take if successful |
bytes |
| The address to send the calldata to |
string |
| The value of ETH to send with the transaction |
string |
| The function signature of the function to call at the target address |
string |
| The encoded argument data for the action |
Struct |
| Parameters |
uint32 |
| Created block number |
string |
| Created transaction hash |
uint32 |
| Created block timestamp |
uint32 |
| Started block number |
string |
| Started transaction hash |
uint32 |
| Started block timestamp |
uint32 |
| Canceled block number |
string |
| Canceled transaction hash |
uint32 |
| Canceled block timestamp |
uint32 |
| End block number |
string |
| End transaction hash |
uint32 |
| End block timestamp |
uint32 |
| Queued block number |
string |
| Queued transaction hash |
uint32 |
| Queued block timestamp |
uint32 |
| Executed block number |
string |
| Executed transaction hash |
uint32 |
| Executed block timestamp |
bytes |
| Votes for |
bytes |
| Votes against |
bytes |
| Proposer address |
uint32 |
| eta |
string |
| The number of votes in support of the proposal |
string |
| The number of votes in opposition to this proposal |
uint32 |
| Set |
uint32 |
| Set |
string |
| State of |
uint32 |
| Voter count |
Timestamp |
| Creation timestamp |
Timestamp |
| Update timestamp |
uint32 |
| Expire timestamp |
string |
| Title |
Last updated