_getModuleVersion

Queries the list of module versions from state.

Parameters

Query

  • module_name: STRING - (Optional) A field to query a specific module consensus version from state. Leaving this empty will fetch the full list of module versions from state.
curl "https://cosmos-mainnet-archive.allthatnode.com:1317/cosmos/upgrade/v1beta1/module_versions" \
-H 'x-allthatnode-api-key: 8U3JLUhzIDg3GShvy9hkCCSYkLGc11kj'

Returns

  • OBJECT - Module information.
{
  "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": "provider",
      "version": "1"
    },
    {
      "name": "slashing",
      "version": "2"
    },
    {
      "name": "staking",
      "version": "2"
    },
    {
      "name": "transfer",
      "version": "2"
    },
    {
      "name": "upgrade",
      "version": "1"
    },
    {
      "name": "vesting",
      "version": "1"
    }
  ]
}

Try Yourself

Language
Click Try It! to start a request and see the response here!