estimate-instantiate-fee
Calculate gas fees for deploying smart contracts on Osmosis by providing sender address, code ID, and initialization parameters.
Instructions
Estimates gas fees for contract instantiation
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>",
"codeId": "<codeId>",
"initMsg": "<initMsg>"
},
"name": "estimate-instantiate-fee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | The sender's Osmosis address | |
| codeId | Yes | The code ID to instantiate | |
| initMsg | Yes | The instantiation message | |
| funds | No | Optional funds to send |