User Position
Last updated
Last updated
Once liquidity has been provided, you can retrieve your positions via the Saros DLMM REST API. Two endpoints are offered:
Bin-Level Positions: Retrieves granular details for each bin in your positions.
Pool-Level Positions: Returns aggregated summaries per pool.
After adding liquidity, you can fetch your positions using the Liquidity Book API. There are two endpoints available
This endpoint returns detailed information about each bin in your positions:
The response includes detailed information about each bin in your positions, including:
Bin ID
Token amounts in each bin
Liquidity shares
Price information
This endpoint aggregates your positions by pool, providing a summary of your total liquidity in each pool:
The response includes aggregated information about your positions in each pool, including:
Total liquidity
Total token amounts
Pool information (fees, token details)
Price information