create-cosmwasm-pool
Deploy a CosmWasm-based liquidity pool on Osmosis by providing a mnemonic, code ID, and instantiation message to execute the transaction.
Instructions
Create a CosmWasm-based pool
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": {
"mnemonic": "<mnemonic>",
"codeId": "<codeId>",
"instantiateMsg": "<instantiateMsg>"
},
"name": "create-cosmwasm-pool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mnemonic | Yes | BIP-39 mnemonic phrase for signing the transaction | |
| codeId | Yes | CosmWasm code ID for the pool contract | |
| instantiateMsg | Yes | Instantiation message for the CosmWasm contract | |
| gas | No | Gas limit (default: auto-estimate) | |
| gasPrice | No | Gas price (default: 0.025uosmo) | |
| memo | No | Transaction memo |