fetch_pool_detail

Documentation for eth_defi.lighter.vault.fetch_pool_detail function.

fetch_pool_detail(session, account_index, timeout=30.0)

Fetch detailed pool data including share price history.

Uses /api/v1/account?by=index&value={account_index}. The response includes pool_info with share_prices and daily_returns arrays for pool accounts. See the Lighter account API reference.

Parameters
Returns

LighterPoolDetail with share-price history and the current point-in-time account/pool snapshot.

Return type

eth_defi.lighter.vault.LighterPoolDetail