Returns a governance proposal.
get/consensus/proposals/{proposal_id}
Request
- Base URLhttps://nexus.oasis.io/v1
- Authnone declared
- TypeScripthttps://skmtc.dev/oasisprotocol/apis/oasis-nexus-api-v1/docs/consensus/proposals/:proposal_id/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
proposal_idinteger required
The unique identifier of the proposal to return.
Response
A JSON object containing a governance proposal.
Example response
{
"id": 1,
"submitter": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
"state": "active",
"deposit": "1234567890123456789012",
"epoch": 13402,
"parameters_change": "{\"min_validators\":null,\"max_validators\":\"120\",\"voting_power_distribution\":null}",
"created_at": 13402,
"closes_at": 13403,
"invalid_votes": "1234567890123456789012"
}Changes
No recorded changes to this operation across all 3 revisions of this API.