Data API
Get LP Balance
Fetch a user’s LP position in a pro pool.
Returns the LP token balance, pending fees, and whether the position exists on-chain. If the user has never added liquidity (or received LP tokens via transfer), exists will be false and all values will be zero.
The lp_position_address is the PDA derived from [USER_LP_POSITION, pool, user] — useful for monitoring the account directly via WebSocket subscriptions.
POST
Get LP Balance
Body
application/json
Query a user's LP token balance in a pro pool. Returns zero values if the user has never added liquidity.
Response
200 - application/json
LP position information for a user in a pro pool.