Balances Update Query — 4-5x Speedup
Optimized the core wallet balances update SQL query:- Execution time reduced from ~3s to ~500ms
- Fewer round-trips to the database for batch balance writes
- Directly improves latency on
/wallet/portfolioand position streams
RPC Failover with Capability Filtering
Chain adapters now filter RPC candidates by supported capabilities before falling over:- Avoids retrying on RPCs that don’t support the required call type (e.g.,
eth_getLogs,debug_traceTransaction) - Faster recovery when the primary RPC is degraded
- More resilient swap extraction across all EVM chains
Wallet Labels in Background
Wallet label resolution is now kicked off asynchronously on first request:- Initial position response is no longer blocked by label scraping
- Labels appear on subsequent requests once resolved
- Reduces perceived latency for first-time wallet lookups
Shipped by Delox & Sacha