MantraChain MCP Server

by allthatjazzleo
Verified

contract-execute

Execute smart contract functions to modify on-chain state using a specified contract address, execution message, and network. Send optional funds and memos to complete transactions.

Instructions

Execute a function on a smart contract that changes state

Input Schema

NameRequiredDescriptionDefault
contractAddressYesAddress of the smart contract to execute
executeMsgYesThe execute message to send to the contract as a JSON object
fundsNoOptional funds to send with the execution
memoNoOptional memo for the transaction
networkNameYesName of the network to use - must first check available networks

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "contractAddress": { "description": "Address of the smart contract to execute", "type": "string" }, "executeMsg": { "additionalProperties": {}, "description": "The execute message to send to the contract as a JSON object", "type": "object" }, "funds": { "description": "Optional funds to send with the execution", "items": { "additionalProperties": false, "properties": { "amount": { "type": "string" }, "denom": { "type": "string" } }, "required": [ "amount" ], "type": "object" }, "type": "array" }, "memo": { "description": "Optional memo for the transaction", "type": "string" }, "networkName": { "description": "Name of the network to use - must first check available networks", "type": "string" } }, "required": [ "contractAddress", "executeMsg", "networkName" ], "type": "object" }
ID: p4x6v48lbj