Params

Params queries all parameters of the gov module.

GEThttps://zetachain.nownodes.io/cosmos/gov/v1beta1/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

A successful response.

Body
voting_paramsobject

voting_params defines the parameters related to voting.

deposit_paramsobject

deposit_params defines the parameters related to deposit.

tally_paramsobject

tally_params defines the parameters related to tally.

Request
const response = await fetch('https://zetachain.nownodes.io/cosmos/gov/v1beta1/params/{params_type}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "voting_params": {
    "voting_period": "text"
  },
  "deposit_params": {
    "min_deposit": [
      {
        "denom": "text",
        "amount": "text"
      }
    ],
    "max_deposit_period": "text"
  },
  "tally_params": {
    "quorum": "Ynl0ZXM=",
    "threshold": "Ynl0ZXM=",
    "veto_threshold": "Ynl0ZXM="
  }
}