---
title: "InstantiateContract creates a new smart contract instance for the given code id."
method: POST
path: "/cosmwasm.wasm.v1.Msg/InstantiateContract"
tags: ["Msg"]
---

# InstantiateContract creates a new smart contract instance for the given code id.

`POST /cosmwasm.wasm.v1.Msg/InstantiateContract`

## Request body

- object — MsgInstantiateContract create a new smart contract instance for the given code id.
  - `sender` string
  - `admin` string
  - `code_id` string, uint64
  - `label` string — Label is optional metadata to be stored with a contract instance.
  - `msg` string, byte
  - `funds` object[]
    - `denom` string
    - `amount` string

## Response `200`

A successful response.

## Other responses

- `default` — An unexpected error response.

---

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