cosmos/gov/v1beta1/params/{params_type}

Parameters

Object NameRequiredTypeDetail
PARAMS_TYPEStringThe parameters to query for, can be one of "voting", "tallying" or "deposit".
/cosmos/gov/v1beta1/params/voting

Result

All parameters of the gov module.

Example

Request

curl <your-rest-endpoint>/cosmos/gov/v1beta1/params/voting \
  -X GET \
  -H "accept: application/json"

Return

{
    "voting_params": {
        "voting_period": "1209600s"
    },
    "deposit_params": {
        "min_deposit": [],
        "max_deposit_period": "0s"
    },
    "tally_params": {
        "quorum": "0.000000000000000000",
        "threshold": "0.000000000000000000",
        "veto_threshold": "0.000000000000000000"
    }
}