prepare-execute-contract
Generate and prepare transactions to execute smart contracts on the Osmosis blockchain. Input sender address, contract details, and execution message to initiate contract interactions.
Instructions
Prepares a transaction to execute a contract
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contractAddress | Yes | The contract address to execute | |
executeMsg | Yes | The execution message as a JSON object | |
funds | No | Optional funds to send with execution | |
sender | Yes | The sender's Osmosis address |
Input Schema (JSON Schema)
{
"properties": {
"contractAddress": {
"description": "The contract address to execute",
"type": "string"
},
"executeMsg": {
"description": "The execution message as a JSON object",
"type": "object"
},
"funds": {
"description": "Optional funds to send with execution",
"items": {
"properties": {
"amount": {
"description": "Amount to send",
"type": "string"
},
"denom": {
"description": "Token denomination",
"type": "string"
}
},
"required": [
"denom",
"amount"
],
"type": "object"
},
"type": "array"
},
"sender": {
"description": "The sender's Osmosis address",
"type": "string"
}
},
"required": [
"sender",
"contractAddress",
"executeMsg"
],
"type": "object"
}