create-pool
Initiate liquidity pool creation on the Osmosis blockchain by specifying pool type, assets, fees, and governance settings using a BIP-39 mnemonic for transaction signing.
Instructions
Create a new liquidity pool on Osmosis
Input Schema
Name | Required | Description | Default |
---|---|---|---|
exitFee | No | Exit fee as decimal (e.g., '0.001' for 0.1%) | 0.000000000000000000 |
futurePoolGovernor | No | Future pool governor address (default: empty for no governance) | |
gas | No | Gas limit (default: auto-estimate) | |
gasPrice | No | Gas price (default: 0.025uosmo) | |
memo | No | Transaction memo | |
mnemonic | Yes | BIP-39 mnemonic phrase for signing the transaction | |
poolAssets | Yes | Assets for the pool with weights (for balancer pools) | |
poolType | Yes | Type of pool to create | |
scalingFactors | No | Scaling factors for stableswap pools | |
spread_factor | No | Spread factor for concentrated liquidity pools | |
swapFee | Yes | Swap fee as decimal (e.g., '0.003' for 0.3%) | |
tickSpacing | No | Tick spacing for concentrated liquidity pools |
Input Schema (JSON Schema)
{
"properties": {
"exitFee": {
"default": "0.000000000000000000",
"description": "Exit fee as decimal (e.g., '0.001' for 0.1%)",
"type": "string"
},
"futurePoolGovernor": {
"description": "Future pool governor address (default: empty for no governance)",
"type": "string"
},
"gas": {
"description": "Gas limit (default: auto-estimate)",
"type": "string"
},
"gasPrice": {
"description": "Gas price (default: 0.025uosmo)",
"type": "string"
},
"memo": {
"description": "Transaction memo",
"type": "string"
},
"mnemonic": {
"description": "BIP-39 mnemonic phrase for signing the transaction",
"type": "string"
},
"poolAssets": {
"description": "Assets for the pool with weights (for balancer pools)",
"items": {
"properties": {
"token": {
"properties": {
"amount": {
"type": "string"
},
"denom": {
"type": "string"
}
},
"required": [
"denom",
"amount"
],
"type": "object"
},
"weight": {
"description": "Weight for balancer pools (e.g., '1000000' for equal weight)",
"type": "string"
}
},
"required": [
"token"
],
"type": "object"
},
"type": "array"
},
"poolType": {
"description": "Type of pool to create",
"enum": [
"balancer",
"stableswap",
"concentrated"
],
"type": "string"
},
"scalingFactors": {
"description": "Scaling factors for stableswap pools",
"items": {
"type": "string"
},
"type": "array"
},
"spread_factor": {
"description": "Spread factor for concentrated liquidity pools",
"type": "string"
},
"swapFee": {
"description": "Swap fee as decimal (e.g., '0.003' for 0.3%)",
"type": "string"
},
"tickSpacing": {
"description": "Tick spacing for concentrated liquidity pools",
"type": "string"
}
},
"required": [
"mnemonic",
"poolType",
"poolAssets",
"swapFee"
],
"type": "object"
}