cosmos.gov.v1.Query/Proposals - Cronos

Returns the paginated list of governance proposals, optionally filtered by status, voter, or depositor. The gRPC equivalent of the REST proposals query.

Service Method

cosmos.gov.v1.Query/Proposals

Message Fields

FieldTypeDescription
proposal_statusstringOptional status filter
paginationobjectOptional pagination

Example

bashgrpcurl \
  -H "x-api-key: <ACCESS-TOKEN>" \
  -d '{
    "proposal_status": "PROPOSAL_STATUS_VOTING_PERIOD"
}' \
  shared.eu-central-1.getblock.io:443 \
  cosmos.gov.v1.Query/Proposals

Response

json{
    "proposals": [
        {
            "id": "42",
            "status": "PROPOSAL_STATUS_VOTING_PERIOD",
            "final_tally_result": {
                "yes_count": "0",
                "no_count": "0"
            }
        }
    ],
    "pagination": {
        "total": "42"
    }
}

Response Fields

FieldTypeDescription
proposalsarrayGovernance proposals with id, status, and tally

Use Cases

  • Governance UIs: List proposals
  • Backends: Typed governance reads
  • Monitoring: Watch for new proposals

Error Handling

ErrorMessageDescription
InternalInternal errorThe node failed to return proposals
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect