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/publicPoolsMetadata with pagination. Also fetches system config to identify the LLP pool.

Parameters
Returns

List of LighterPoolSummary objects.

Return type

list[eth_defi.lighter.vault.LighterPoolSummary]