exit-swap-share-amount-in
Calculate token amounts received when burning exact LP shares to exit an Osmosis liquidity pool, ensuring minimum output thresholds are met.
Instructions
Exit pool by burning exact LP shares
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mnemonic | Yes | BIP-39 mnemonic phrase for signing the transaction | |
| poolId | Yes | Pool ID to exit | |
| tokenOutDenom | Yes | Denomination of token to receive | |
| shareInAmount | Yes | Exact LP shares to burn | |
| tokenOutMinAmount | Yes | Minimum token amount to receive | |
| gas | No | Gas limit (default: auto-estimate) | |
| gasPrice | No | Gas price (default: 0.025uosmo) | |
| memo | No | Transaction memo |