Skip to main content
Glama

join-swap-share-amount-out

Calculate token input needed to receive exact LP shares in Osmosis pools. Specify maximum token amount and get precise swap parameters for liquidity provision.

Instructions

Join pool by specifying exact LP shares to receive

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mnemonicYesBIP-39 mnemonic phrase for signing the transaction
poolIdYesPool ID to join
tokenInDenomYesDenomination of token to swap in
shareOutAmountYesExact LP shares to receive
tokenInMaxAmountYesMaximum token amount to swap in
gasNoGas limit (default: auto-estimate)
gasPriceNoGas price (default: 0.025uosmo)
memoNoTransaction memo
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MyronKoch-dev/osmosis-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server