Skip to main content
Glama

prepare-migrate-contract

Prepare a transaction to migrate a smart contract to new code on the Osmosis blockchain. Specify sender, contract address, new code ID, and migration message to ensure proper execution.

Instructions

Prepares a transaction to migrate a contract to new code

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contractAddressYesThe contract address to migrate
migrateMsgYesThe migration message as a JSON object
newCodeIdYesThe new code ID to migrate to
senderYesThe sender's Osmosis address (must be admin)

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MyronKoch-dev/osmosis-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server