Returns a specific parameter of a module, given its subspace and key.
Parameters
Object Name | Required | Type | Detail |
---|---|---|---|
subspace | ✅ | String | The module to query the parameter for. |
key | ✅ | String | The 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": ""
}
}