join-swap-share-amount-out
Calculate the required token amount to join a liquidity pool and receive exact LP shares, ensuring precise asset allocation on the Osmosis blockchain.
Instructions
Join pool by specifying exact LP shares to receive
Input Schema
TableJSON 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 | |
| shareOutAmount | Yes | Exact LP shares to receive | |
| tokenInDenom | Yes | Denomination of token to swap in | |
| tokenInMaxAmount | Yes | Maximum token amount to swap in |