Parameters
Object Name | Required | Type | Detail |
---|---|---|---|
module_name | ❌ | String | module_name is a field to query a specific module consensus version from state. Leaving this empty will fetch the full list of module versions from state. |
cosmos/upgrade/v1beta1/module_versions
Result
The list of module versions from state.
Example
Request
curl <your-rest-endpoint>/cosmos/upgrade/v1beta1/module_versions \
-X GET \
-H "accept: application/json"
Return
{
"module_versions": [
{
"name": "auth",
"version": "2"
},
{
"name": "authz",
"version": "1"
},
{
"name": "bank",
"version": "2"
},
{
"name": "capability",
"version": "1"
},
{
"name": "crisis",
"version": "1"
},
{
"name": "distribution",
"version": "2"
},
{
"name": "evidence",
"version": "1"
},
{
"name": "feegrant",
"version": "1"
},
{
"name": "genutil",
"version": "1"
},
{
"name": "globalfee",
"version": "1"
},
{
"name": "gov",
"version": "2"
},
{
"name": "ibc",
"version": "2"
},
{
"name": "interchainaccounts",
"version": "1"
},
{
"name": "liquidity",
"version": "2"
},
{
"name": "mint",
"version": "1"
},
{
"name": "packetfowardmiddleware",
"version": "1"
},
{
"name": "params",
"version": "1"
},
{
"name": "slashing",
"version": "2"
},
{
"name": "staking",
"version": "2"
},
{
"name": "transfer",
"version": "2"
},
{
"name": "upgrade",
"version": "1"
},
{
"name": "vesting",
"version": "1"
}
]
}