prepare-execute-contract
Prepare and execute smart contract transactions on the Osmosis blockchain by specifying sender address, contract details, and execution message.
Instructions
Prepares a transaction to execute a contract
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": {
"sender": "<sender>",
"contractAddress": "<contractAddress>",
"executeMsg": "<executeMsg>"
},
"name": "prepare-execute-contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | The sender's Osmosis address | |
| contractAddress | Yes | The contract address to execute | |
| executeMsg | Yes | The execution message as a JSON object | |
| funds | No | Optional funds to send with execution |