---
title: "StoreCode defines a rpc handler method for MsgStoreCode."
method: POST
path: "/ibc.lightclients.wasm.v1.Msg/StoreCode"
tags: ["Msg"]
---

# StoreCode defines a rpc handler method for MsgStoreCode.

`POST /ibc.lightclients.wasm.v1.Msg/StoreCode`

## Request body

- IbcLightclientsWasmV1MsgStoreCode — MsgStoreCode defines the request type for the StoreCode rpc.
  - `signer` string
  - `wasm_byte_code` string, byte

## Response `200`

A successful response.

- IbcLightclientsWasmV1MsgStoreCodeResponse
  - `checksum` string, byte

## Other responses

- `default` — An unexpected error response.

## Changes

- **2025-03-27** `4f349536c8f3` — 1 info
  - endpoint added
- **2025-02-24** `2ab9d24288c2` — 1 breaking
  - api path removed without deprecation
- **2024-08-14** `21c607e4fa20` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/pokt-network/apis/http-api-console/changes/ibc.lightclients.wasm.v1.Msg/StoreCode/post.md)

---

[API](https://skmtc.dev/pokt-network/apis/http-api-console.md) · [All operations](https://skmtc.dev/pokt-network/apis/http-api-console/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pokt-network/http-api-console/revisions/4f349536c8f3/schema)
