---
title: "Get Wasm code for given checksum"
method: GET
path: "/ibc/lightclients/wasm/v1/checksums/{checksum}/code"
tags: ["Query"]
---

# Get Wasm code for given checksum

`GET /ibc/lightclients/wasm/v1/checksums/{checksum}/code`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/cosmos/apis/ibc-go-grpc-gateway-docs/docs/ibc/lightclients/wasm/v1/checksums/:checksum/code/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `checksum` string, required

## Response `200`

A successful response.

- object: QueryCodeResponse is the response type for the Query/Code RPC method.
  - `data` string, byte

## Other responses

- `default`: An unexpected error response.

## Changes

- **2023-11-28** `e1d82b9062e8`: 1 info
  - endpoint added
- **2021-07-19** `cb56bc693679`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/cosmos/apis/ibc-go-grpc-gateway-docs/changes/ibc/lightclients/wasm/v1/checksums/:checksum/code/get.md)

---

[API](https://skmtc.dev/cosmos/apis/ibc-go-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/cosmos/apis/ibc-go-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/cosmos/apis/ibc-go-grpc-gateway-docs/revisions/50daa3dd79ce?raw)
