Liquidity Operations
Increase Liquidity
POST
Increase Liquidity
This endpoint provides functionality for increasing liquidity to existing Algebra positions. It supports both single-token and balanced liquidity additions to existing positions.
Using the SDK
Security Considerations
-
Slippage Protection
- Default slippage tolerance for non-meme pools is 2%
- Default slippage tolerance for meme pools is 10%
- Slippage is calculated based on the current position’s price range
-
Position Validation
- Position must exist and belong to the recipient
- Position must not be closed
- Current price must be within the position’s range for balanced adds
- Single-sided adds are possible when price is outside range
Best Practices
- Timing Considerations
- Check if current price is within range
- Consider increasing when:
- Position is generating good fees
- Price is centered in range
- Market volatility matches position range
Common Errors and Solutions
-
Price Out of Range
-
Invalid Position ID
Body
application/json