fetch_all_pools
Documentation for eth_defi.lighter.vault.fetch_all_pools function.
- fetch_all_pools(session, timeout=30.0, page_size=100)
Fetch all Lighter public pools.
Uses
/api/v1/publicPoolsMetadatawith pagination. Also fetches system config to identify the LLP pool.- Parameters
session (eth_defi.lighter.session.LighterSession) – HTTP session.
timeout (float) – HTTP request timeout.
page_size (int) – Number of pools per page (max 100).
- Returns
List of
LighterPoolSummaryobjects.- Return type