Get All Gov Proposals
Get all gov proposals.
Method Declaration
Python
async def get_all_gov_proposals(
self,
proposal_status: Optional[str] = None,
voter: Optional[str] = None,
depositor: Optional[str] = None,
key: Optional[bytes] = None,
offset: Optional[int] = None,
limit: Optional[int] = None,
count_total: Optional[bool] = False,
reverse: Optional[bool] = False,
) -> gov_query.QueryProposalsResponseParameters
| Parameter | Location | Type | Mandatory | Description |
|---|---|---|---|---|
| proposalStatus | Query | ProposalStatus | true | Status of the proposal to filter by. |
| voter | Query | string | false | Voter to filter by |
| depositor | Query | string | false | Depositor to filter by. |
Response
| Status | Meaning | Schema |
|---|---|---|
200 | OK | GovV1Module.QueryProposalsResponse |
Examples: API