fetch_lighter_api_key

Documentation for eth_defi.lighter.api.fetch_lighter_api_key function.

fetch_lighter_api_key(session, account_index, api_key_index, timeout=30.0)

Fetch one Lighter API-key record from the public account API.

Parameters
Returns

Matching API-key response object, or None if it is not visible.

Return type

Optional[dict[str, Any]]