estimate-execute-fee
Calculate gas fees for executing contracts on Osmosis by inputting sender address, contract details, and execution message.
Instructions
Estimates gas fees for contract execution
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractAddress | Yes | The contract address | |
| executeMsg | Yes | The execution message | |
| funds | No | Optional funds to send | |
| sender | Yes | The sender's Osmosis address |
Input Schema (JSON Schema)
{
"properties": {
"contractAddress": {
"description": "The contract address",
"type": "string"
},
"executeMsg": {
"description": "The execution message",
"type": "object"
},
"funds": {
"description": "Optional funds to send",
"items": {
"properties": {
"amount": {
"type": "string"
},
"denom": {
"type": "string"
}
},
"required": [
"denom",
"amount"
],
"type": "object"
},
"type": "array"
},
"sender": {
"description": "The sender's Osmosis address",
"type": "string"
}
},
"required": [
"sender",
"contractAddress",
"executeMsg"
],
"type": "object"
}