---
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.mantrachain.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mantrachain.io/cosmos/upgrade/v1beta1/module_versions`
- Auth: none declared

## Query parameters

- `module_name` string

## Response `200`

A successful response.

- object: QueryModuleVersionsResponse is the response type for the Query/ModuleVersions RPC method.
  - `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/mantrachain/apis/mantra-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/mantrachain/apis/mantra-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/mantrachain/apis/mantra-grpc-gateway-docs/revisions/641ce457f7fd?raw)
