fetch_system_config

Documentation for eth_defi.lighter.vault.fetch_system_config function.

fetch_system_config(session, timeout=30.0)

Fetch Lighter system configuration.

Returns system config including the deployment’s reported LLP account index. Deployment configuration may override a stale reported value.

Parameters
Returns

System config dict with reported liquidity_pool_index field.

Return type

dict[str, Any]