---
title: "Code queries the balance of all coins for a single account."
method: GET
path: "/cosmos/evm/vm/v1/codes/{address}"
tags: ["Query"]
---

# Code queries the balance of all coins for a single account.

`GET /cosmos/evm/vm/v1/codes/{address}`

## 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/evm/vm/v1/codes/{address}`
- Auth: none declared

## Path parameters

- `address` string, required

## Response `200`

A successful response.

- object: QueryCodeResponse is the response type for the Query/Code RPC method.
  - `code` string, byte: code represents the code bytes from an ethereum address.

## 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)
