Terp Network Docs
APIsOpenapiQuery
GET
/cosmos/gov/v1beta1/proposals/{proposal_id}

Path Parameters

proposal_id*string

proposal_id defines the unique id of the proposal.

Formatuint64

Response Body

application/json

application/json

curl -X GET "http://localhost:1317/cosmos/gov/v1beta1/proposals/string"
{
  "proposal": {
    "proposal_id": "string",
    "content": {
      "type_url": "string",
      "value": "string"
    },
    "status": "PROPOSAL_STATUS_UNSPECIFIED",
    "final_tally_result": {
      "yes": "string",
      "abstain": "string",
      "no": "string",
      "no_with_veto": "string"
    },
    "submit_time": "2019-08-24T14:15:22Z",
    "deposit_end_time": "2019-08-24T14:15:22Z",
    "total_deposit": [
      {
        "denom": "string",
        "amount": "string"
      }
    ],
    "voting_start_time": "2019-08-24T14:15:22Z",
    "voting_end_time": "2019-08-24T14:15:22Z"
  }
}
{
  "error": "string",
  "code": 0,
  "message": "string",
  "details": [
    {
      "type_url": "string",
      "value": "string"
    }
  ]
}