Skip to main content
Glama

contract-query

Execute read-only functions on smart contracts to retrieve data without altering the blockchain state. Specify the contract address, network, and query message for precise results.

Instructions

Query a smart contract by executing a read-only function

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contractAddressYesAddress of the smart contract to query
networkNameYesName of the network to use - must first check what networks are available through the networks resource
queryMsgYesThe query message to send to the contract as a JSON object

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/allthatjazzleo/mantrachain-mcp'

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