LiFi aggregator protocol facade.
Thin wrapper that hits the LiFi API (https://li.quest/v1/quote)
and converts the response into an AggregatorQuote for consumption
by the aggregator family's plan::execute_quote.
Authentication
LiFi's API can be called without authentication (rate-limited) or
with an API key passed via the x-lifi-api-key header. fetch_quote
accepts api_key: Option<&str> so the facade works in both modes.
Scope
- Multi-chain same-chain swaps (fromChain == toChain == request.chain_id); cross-chain bridging deferred.
- Exact-in only (fromAmount) — exact-out not supported by LiFi's quote endpoint