estimate-execute-fee
Calculate gas fees for executing smart contracts on Osmosis before submitting transactions to avoid unexpected costs.
Instructions
Estimates gas fees for contract execution
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": "estimate-execute-fee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | The sender's Osmosis address | |
| contractAddress | Yes | The contract address | |
| executeMsg | Yes | The execution message | |
| funds | No | Optional funds to send |