---
title: "ModuleVersions queries the list of module versions from state."
method: GET
path: "/cosmos/upgrade/v1beta1/module_versions"
tags: ["Query"]
---

# ModuleVersions queries the list of module versions from state.

`GET /cosmos/upgrade/v1beta1/module_versions`

## Request

- Base URL: `https://api.nymtech.net` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nymtech.net/cosmos/upgrade/v1beta1/module_versions`
- Auth: none declared
- TypeScript: <https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/docs/cosmos/upgrade/v1beta1/module_versions/get.ts> (a function with typed inputs; its response is checked against the schema)

Since: cosmos-sdk 0.43

## Query parameters

- `module_name` string

## Response `200`

A successful response.

- object: QueryModuleVersionsResponse is the response type for the Query/ModuleVersions RPC method. Since: cosmos-sdk 0.43
  - `module_versions` object[]: module_versions is a list of module names with their consensus versions.
    - `name` string
    - `version` string, uint64

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/revisions/46fa771059b6?raw)
