cosmos/params/v1beta1/params

Returns a specific parameter of a module, given its subspace and key.

Parameters

Object NameRequiredTypeDetail
subspaceStringThe module to query the parameter for.
keyStringThe parameter in the subspace.
/cosmos/params/v1beta1/params?subspace=distribution&key=max_validators

Result

A specific parameter of a module.

Example

Request

curl <your-rest-endpoint>/cosmos/params/v1beta1/params?subspace=distribution&key=max_validators \
  -X GET \
  -H "accept: application/json"

Return

{
    "param": {
        "subspace": "distribution",
        "key": "max_validators",
        "value": ""
    }
}