exit-swap-extern-amount-out
Calculate and execute a pool exit on Osmosis by specifying the exact amount of a token to receive, burning LP shares within a set maximum.
Instructions
Exit pool by specifying exact token amount to receive
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mnemonic | Yes | BIP-39 mnemonic phrase for signing the transaction | |
| poolId | Yes | Pool ID to exit | |
| tokenOut | Yes | Token to receive | |
| shareInMaxAmount | Yes | Maximum LP shares to burn | |
| gas | No | Gas limit (default: auto-estimate) | |
| gasPrice | No | Gas price (default: 0.025uosmo) | |
| memo | No | Transaction memo |