Summary
Index liquidity provider events from the contract and expose endpoints for fetching LP positions, accrued rewards, and pool share data per wallet.
Scope
- GET /lp/positions?wallet= — all active LP positions with share and accrued rewards
- GET /lp/positions/:lpId — single position detail
- GET /lp/pool/:keyId — total pool size and current APR estimate
- LP events (added, claimed, removed) indexed from contract stream
- Rewards accrual computed on each trade event
Acceptance Criteria
ETA
12 hours
Summary
Index liquidity provider events from the contract and expose endpoints for fetching LP positions, accrued rewards, and pool share data per wallet.
Scope
Acceptance Criteria
ETA
12 hours