feat(market): update trending --interval to support 1m/5m/1h/6h/24h

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gumponchain
2026-03-25 16:46:55 +08:00
committed by GMGN.AI
co-authored by Claude Sonnet 4.6
parent 34456974f3
commit 702eac9686
+1 -1
View File
@@ -30,7 +30,7 @@ export function registerMarketCommands(program: Command): void {
.command("trending")
.description("Get trending token swap data")
.requiredOption("--chain <chain>", "Chain: sol / bsc / base")
.requiredOption("--interval <interval>", "Time interval: 1h / 3h / 6h / 24h")
.requiredOption("--interval <interval>", "Time interval: 1m / 5m / 1h / 6h / 24h")
.option("--limit <n>", "Number of results (default 100, max 100)", parseInt)
.option("--order-by <field>", "Sort field: default / volume / swaps / marketcap / holder_count / price / change1h / ... (see docs for full list)")
.option("--direction <dir>", "Sort direction: asc / desc")