gov proposal - Stable

Returns a single governance proposal by its numeric identifier.

Endpoint

httpGET /cosmos/gov/v1/proposals/{proposal_id}

Path Parameters

ParameterTypeDescription
proposal_idstringThe proposal's numeric identifier

Example

bashexport STABLE_REST=https://shared.ap-southeast-1.getblock.io/<ACCESS-TOKEN>/

curl "${STABLE_REST}cosmos/gov/v1/proposals/900"

Response

json{
    "proposal": {
        "id": "900",
        "status": "PROPOSAL_STATUS_VOTING_PERIOD",
        "messages": [],
        "final_tally_result": {
            "yes_count": "120000000000",
            "no_count": "5000000000",
            "abstain_count": "0",
            "no_with_veto_count": "0"
        },
        "voting_end_time": "2026-06-03T00:00:00Z"
    }
}

Response Fields

FieldTypeDescription
proposal.idstringThe proposal identifier
proposal.statusstringProposal lifecycle status
proposal.final_tally_resultobjectCurrent vote tally

Use Cases

  • Proposal detail: Render one proposal's text and tally

Error Handling

ErrorMessageDescription
400 / Bad requestBad requestA path, query, or body parameter was invalid
404 / Not foundNot foundThe account, validator, proposal, or resource does not exist
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect