Wallet portfolio
The CombinedOverview component is the primary dashboard view. It shows your complete portfolio across all connected chains with real-time balances, sparkline price history, and multi-wallet support.Multi-wallet support
You can monitor up to 3 wallets simultaneously:Balance section
Chain balances
A grid of chain cards, each showing:
Each card has the chain icon and name.
Token holdings list
Every token in your portfolio, displayed as clickable rows:Token symbol mapping
The sparkline system maps variant symbols to canonical ones:- USDC, USDC.e, USDbC → USDC
- WETH, cbETH, wstETH, rETH → ETH
- WBTC → BTC
- POL, MATIC, WMATIC → MATIC
Expanded token detail
Click any token row to expand and see the TokenDetailPanel:- Interactive price chart powered by
lightweight-charts(TradingView) - Period selector: 24h, 7d, 30d, 90d
- Area chart with color based on price direction (green up, red down)
- 24h change calculation from chart data
- Loading and error states with retry
Chain legend
At the bottom of the token list, a legend showing which chains are present in your portfolio with their icons.Data sources
AI wallet analysis
Below the portfolio overview, the WalletAnalysisCard offers on-demand AI analysis:- Click “Analyze Wallet” button
- Uses MiniMax API to analyze your portfolio
- Returns:
- Portfolio Health Score — Excellent/Good/Fair/Poor with color coding
- Risk Score — 0-100, colored red/yellow/green
- Diversification Rating
- Concentration Risk — Low/Medium/High
- Top Holdings summary
- Recommendations section with actionable advice
Wallet data refreshes every 15 seconds when the page is visible. Polling pauses when the tab is in the background to save resources. The
useServerBalance hook checks USDC and ETH balances every 10 seconds independently for trading readiness.
