pub async fn fetch_analytics_for_input(
token_input: &str,
chain: &str,
period: Period,
holders_limit: u32,
clients: &dyn ChainClientFactory,
spinner: Option<&Spinner>,
) -> Result<TokenAnalytics>Expand description
Fetches token analytics for composite commands (e.g., token-health). Resolves token input (address or symbol) and returns full analytics.
When an optional spinner is provided, progress messages (searching,
selecting) are routed through it for single-line in-place updates.