join-swap-extern-amount-in
Join a liquidity pool on Osmosis by swapping a precise amount of tokens, ensuring you receive specified minimum LP shares in return using the provided details.
Instructions
Join pool by swapping exact amount in
Input Schema
Name | Required | Description | Default |
---|---|---|---|
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 | |
poolId | Yes | Pool ID to join | |
shareOutMinAmount | Yes | Minimum LP shares to receive | |
tokenIn | Yes | Token to swap in |
Input Schema (JSON Schema)
{
"properties": {
"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"
},
"poolId": {
"description": "Pool ID to join",
"type": "string"
},
"shareOutMinAmount": {
"description": "Minimum LP shares to receive",
"type": "string"
},
"tokenIn": {
"description": "Token to swap in",
"properties": {
"amount": {
"type": "string"
},
"denom": {
"type": "string"
}
},
"required": [
"denom",
"amount"
],
"type": "object"
}
},
"required": [
"mnemonic",
"poolId",
"tokenIn",
"shareOutMinAmount"
],
"type": "object"
}