Liquidity Operations
Add Liquidity
POST
Add Liquidity
This endpoint provides functionality for adding liquidity to Algebra pools. It supports both single-token and balanced liquidity provision.
Data Update Frequency
The position data updates follow our standard update cycles:
Real-time Updates (5-second intervals)
- Position Value
- Current Price Range
- Unclaimed Fees
Hourly Updates
- APR Calculations
- Fee Generation Statistics
Using the SDK
Security Considerations
-
Slippage Protection
- Default slippage tolerance for non-meme pools is 2%
- Default slippage tolerance for meme pools is 10%
-
Price Range
- Tick ranges must be within valid bounds (-887272 to 887272)
- Tick ranges must be in valid tick spacing. Default tick spacing is 60
- Wider ranges provide more stable returns but less capital efficiency
- Narrower ranges provide higher capital efficiency but require more active management
Best Practices
-
Position Sizing
- Balance token amounts according to current price
- Account for price impact in larger positions
-
Range Selection
- Analyze historical price data for range selection
- Consider volatility when setting price ranges
- Account for gas costs of range adjustments
Body
application/json