_getAllGovParamsByType

Queries all parameters of the gov module.

Parameters

Path

  • params_type: STRING - params_type defines which parameters to query for, can be one of "voting", "tallying" or "deposit".
curl "https://cosmos-mainnet-archive.allthatnode.com:1317/cosmos/gov/v1beta1/params/{params_type}" \
-H 'x-allthatnode-api-key: 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj'

Returns

  • OBJECT - Parameters of the gov module
{
  "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"
  }
}

Try Yourself

Language
Click Try It! to start a request and see the response here!