api_tinyman_get_remove_liquidity_quote
Calculate the asset amounts you'll receive when removing liquidity from a Tinyman pool on Algorand, factoring in slippage and protocol version.
Instructions
Get quote for removing liquidity from a pool
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset1Id | Yes | ID of the first asset | |
| asset2Id | Yes | ID of the second asset | |
| poolTokenAmount | Yes | Amount of pool tokens to burn | |
| initiatorAddr | Yes | Address of the account removing liquidity | |
| slippage | No | Maximum acceptable slippage (e.g., 0.01 for 1%) | |
| singleAssetMode | No | Whether to remove liquidity in single asset mode (v2 only) | |
| version | No | Tinyman protocol version | v2 |
| network | No | Algorand network to use (default: mainnet) | |
| itemsPerPage | No | Number of items per page for paginated responses (default: 10) |