Terp Network Docs
APIsOpenapiQuery
GET
/cosmos/gov/v1/params/{params_type}

Path Parameters

params_type*string

params_type defines which parameters to query for, can be one of "voting", "tallying" or "deposit".

Response Body

application/json

application/json

curl -X GET "http://localhost:1317/cosmos/gov/v1/params/string"
{
  "voting_params": {
    "voting_period": "string"
  },
  "deposit_params": {
    "min_deposit": [
      {
        "denom": "string",
        "amount": "string"
      }
    ],
    "max_deposit_period": "string"
  },
  "tally_params": {
    "quorum": "string",
    "threshold": "string",
    "veto_threshold": "string"
  },
  "params": {
    "min_deposit": [
      {
        "denom": "string",
        "amount": "string"
      }
    ],
    "max_deposit_period": "string",
    "voting_period": "string",
    "quorum": "string",
    "threshold": "string",
    "veto_threshold": "string",
    "min_initial_deposit_ratio": "string",
    "proposal_cancel_ratio": "string",
    "proposal_cancel_dest": "string",
    "expedited_voting_period": "string",
    "expedited_threshold": "string",
    "expedited_min_deposit": [
      {
        "denom": "string",
        "amount": "string"
      }
    ],
    "burn_vote_quorum": true,
    "burn_proposal_deposit_prevote": true,
    "burn_vote_veto": true,
    "min_deposit_ratio": "string"
  }
}
{
  "error": "string",
  "code": 0,
  "message": "string",
  "details": [
    {
      "type_url": "string",
      "value": "string"
    }
  ]
}