Liquidity Operations
View Positions
GET
View Positions
This endpoint provides real-time data for all liquidity positions owned by a specific address. Position data is updated with minimal delay (maximum 1 block) while APR calculations are updated every 5 minutes.
Data Update Frequency
Real-time Updates (1 block delay)
- Position Liquidity
- Unclaimed Fees
- Token Amounts
- Current Price Range
- Position Value
5-Minute Updates
- Position APR
- Fee Generation Rate
Using the SDK
Best Practices
-
Polling Frequency
- Poll every 5-15 seconds for real-time data
-
Error Handling
- Implement exponential backoff for failed requests
- Handle network disconnections gracefully
- Maintain last known good state
-
Performance
- Clean up polling on component unmount