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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contractAddress": "<contractAddress>",
"executeMsg": "<executeMsg>",
"networkName": "<networkName>"
},
"name": "contract-execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractAddress | Yes | Address of the smart contract to execute | |
| executeMsg | Yes | The execute message to send to the contract as a JSON object | |
| funds | No | Optional funds to send with the execution | |
| memo | No | Optional memo for the transaction | |
| networkName | Yes | Name of the network to use - must first check available networks |