This endpoint retrieves comprehensive data about a specific LP’s position, including their share of the pool, current value, and profit/loss calculations. This information is essential for LPs to track their investment performance.
Requires a valid JWT bearer token. While the token is required for authentication, any authenticated user can view any LP position.
poolId - The LP public key of the poolproviderPublicKey - The public key of the liquidity provider200 OK with detailed LP position information404 Not Found if pool or position doesn’t exist401 Unauthorized if authentication fails500 Internal Server Error if data retrieval failsBearer authentication header of the form Bearer <token>, where <token> is your auth token.
The LP public key of the pool
The public key of the liquidity provider
LP position details retrieved successfully
Response type matching the OpenAPI specification for LP position details.
The public key of the liquidity provider.
The unique identifier of the pool.
The number of LP tokens owned by the provider (in smallest units).
"50250000.00000000"
The provider's share of the pool, as a string (e.g., "0.05" for 5%).
"0.05"
The current value of the provider's position in asset A (in smallest units).
x >= 0"5025000"
The current value of the provider's position in asset B (in smallest units).
x >= 0"2500125"
The principal amount of asset A originally deposited by the provider (in smallest units).
x >= 0"4800000"
The principal amount of asset B originally deposited by the provider (in smallest units).
x >= 0"2400000"
The unrealized profit or loss in asset A (in smallest units).
"225000"
The unrealized profit or loss in asset B (in smallest units).
"100125"