identify_lighter_pool_deployment

Documentation for eth_defi.lighter.constants.identify_lighter_pool_deployment function.

identify_lighter_pool_deployment(address)

Resolve a synthetic Lighter pool address to its deployment.

This helper is used by partial Parquet replacement so an independently completed Ethereum or Robinhood scan cannot remove the other deployment’s retained history. LighterAPIConfig.matches_pool_address() validates the numeric account-index suffix, preventing the shorter Ethereum prefix from matching Robinhood addresses.

Parameters

address (str) – Synthetic Lighter vault address.

Returns

Matching deployment, or None when the address is not recognised.

Return type

Optional[eth_defi.lighter.constants.LighterAPIConfig]