Skip to main content
Glama

Osmosis MCP Server

query-contract-state

Retrieve the state of a smart contract on the Osmosis blockchain by providing the contract address and a JSON query message for precise data retrieval.

Instructions

Queries the state of a smart contract

Input Schema

NameRequiredDescriptionDefault
contractAddressYesThe contract address to query
queryMsgYesThe query message as a JSON object

Input Schema (JSON Schema)

{ "properties": { "contractAddress": { "description": "The contract address to query", "type": "string" }, "queryMsg": { "description": "The query message as a JSON object", "type": "object" } }, "required": [ "contractAddress", "queryMsg" ], "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