Skip to main content
Glama

Osmosis MCP Server

estimate-instantiate-fee

Calculate gas fees for deploying smart contracts on Osmosis by providing sender address, code ID, initialization message, and optional funds.

Instructions

Estimates gas fees for contract instantiation

Input Schema

NameRequiredDescriptionDefault
codeIdYesThe code ID to instantiate
fundsNoOptional funds to send
initMsgYesThe instantiation message
senderYesThe sender's Osmosis address

Input Schema (JSON Schema)

{ "properties": { "codeId": { "description": "The code ID to instantiate", "type": "number" }, "funds": { "description": "Optional funds to send", "items": { "properties": { "amount": { "type": "string" }, "denom": { "type": "string" } }, "required": [ "denom", "amount" ], "type": "object" }, "type": "array" }, "initMsg": { "description": "The instantiation message", "type": "object" }, "sender": { "description": "The sender's Osmosis address", "type": "string" } }, "required": [ "sender", "codeId", "initMsg" ], "type": "object" }

Other Tools from Osmosis MCP Server

Related Tools

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