prepare-join-pool
Prepare an unsigned transaction to join a liquidity pool on Osmosis by specifying pool ID, sender address, tokens to provide, and minimum LP shares to receive.
Instructions
Prepares an unsigned transaction to join a pool
Input Schema
Name | Required | Description | Default |
---|---|---|---|
poolId | Yes | The ID of the liquidity pool | |
sender | Yes | The sender's Osmosis address | |
shareOutMinAmount | Yes | Minimum LP shares to receive | |
tokensIn | Yes | Array of tokens to provide |
Input Schema (JSON Schema)
{
"properties": {
"poolId": {
"description": "The ID of the liquidity pool",
"type": "string"
},
"sender": {
"description": "The sender's Osmosis address",
"type": "string"
},
"shareOutMinAmount": {
"description": "Minimum LP shares to receive",
"type": "string"
},
"tokensIn": {
"description": "Array of tokens to provide",
"items": {
"properties": {
"amount": {
"description": "Amount to provide",
"type": "string"
},
"denom": {
"description": "Token denomination",
"type": "string"
}
},
"required": [
"denom",
"amount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"poolId",
"sender",
"tokensIn",
"shareOutMinAmount"
],
"type": "object"
}