diff --git a/docs/cli-usage.md b/docs/cli-usage.md index ec79afa..0aa3ca5 100644 --- a/docs/cli-usage.md +++ b/docs/cli-usage.md @@ -367,7 +367,7 @@ gmgn-cli market signal --chain sol --groups '' [--raw] Query the hot-search ranking — the most-searched tokens, ranked by `visiting_count` (search heat). Cross-chain top-500; one request can cover several chains at once. API Key auth only. ```bash -# Default 4-chain set (sol/bsc/base/eth, each 24h): +# Default 5-chain set (sol/bsc/base/eth/robinhood, each 24h): gmgn-cli market hot-searches [--raw] # Specific chain(s) and interval: @@ -379,7 +379,7 @@ gmgn-cli market hot-searches --params '' [--raw] | Option | Required | Description | |--------|----------|-------------| -| `--chain` | No | Repeatable: `sol` / `bsc` / `base` / `eth` / `robinhood`. Omit for the default 4-chain set. | +| `--chain` | No | Repeatable: `sol` / `bsc` / `base` / `eth` / `robinhood`. Omit for the default 5-chain set. | | `--interval` | No | `1m` / `5m` / `1h` / `6h` / `24h` (default `24h`). Applies to every `--chain`. | | `--limit` | No | Max results per chain (default `500`). | | `--filter` | No | Repeatable **boolean** filter tags (downstream `filter.filters`). sol defaults: `renounced` / `frozen`; EVM defaults: `not_honeypot` / `verified` / `renounced`. Recognised tags: `renounced` / `frozen` (sol) / `is_burnt` / `token_burnt` / `not_wash_trading` / `not_honeypot` (EVM) / `verified` (EVM) / `locked` (EVM) / `has_social` / `distribed` / `not_risk` / `img_not_duplicate` / `social_not_duplicate` / `creator_hold` / `creator_close` / `dexscr_update_link` / `launching` / `migrated` / `hide_b20` (base) / `hide_non_b20` (base). Unknown tags are silent no-ops. | diff --git a/skills/gmgn-market/SKILL.md b/skills/gmgn-market/SKILL.md index e5e1ba4..cbeeb0f 100644 --- a/skills/gmgn-market/SKILL.md +++ b/skills/gmgn-market/SKILL.md @@ -1037,7 +1037,7 @@ Returns the hot-search ranking — the tokens people are searching for most righ | Option | Description | |--------|-------------| -| `--chain ` | Repeatable. `sol` / `bsc` / `base` / `eth` / `robinhood`. **Omit to query the default 4-chain set** (sol / bsc / base / eth, each at `24h` with chain-appropriate safety filters). | +| `--chain ` | Repeatable. `sol` / `bsc` / `base` / `eth` / `robinhood`. **Omit to query the default 5-chain set** (sol / bsc / base / eth / robinhood, each at `24h` with chain-appropriate safety filters). | | `--interval ` | `1m` / `5m` / `1h` / `6h` / `24h` (default `24h`). Applies to every `--chain` provided. | | `--limit ` | Max results per chain (default `500`). | | `--filter ` | Repeatable **boolean** filter tags (the downstream `filter.filters` array). **⚠️ SOL defaults: `renounced frozen`; EVM defaults: `not_honeypot verified renounced`.** Omitting `--filter` is NOT "no filter" — the server applies chain defaults. See the Filter Tags table below for the exact vocabulary. | @@ -1103,7 +1103,7 @@ Numeric bounds use the **same rank-style metric names as `market trending`**. Th **Notes on behaviour:** -- `--chain all` is **not** valid. To aggregate across chains, pass `--chain` multiple times (or omit `--chain` for the default 4-chain set). +- `--chain all` is **not** valid. To aggregate across chains, pass `--chain` multiple times (or omit `--chain` for the default 5-chain set). - When you pass `--chain` but omit `--filter`, the **server** applies the chain-appropriate default filters — so each chain is filtered even without an explicit `--filter`. - Different chains return different counts: a chain's token count depends on how many of its tokens made the global top-500 (sol is usually the largest). @@ -1139,7 +1139,7 @@ See the [`market trending` Response Fields](#market-trending-response-fields) se ### `market hot-searches` Usage Examples ```bash -# Default 4-chain hot-search ranking (sol/bsc/base/eth, each 24h) +# Default 5-chain hot-search ranking (sol/bsc/base/eth/robinhood, each 24h) gmgn-cli market hot-searches --raw # SOL only, 24h hot-search list @@ -1182,7 +1182,7 @@ Present per chain, ranked by `visiting_count` (search heat): - `market kline`: `--from` and `--to` are Unix timestamps in **seconds** — CLI converts to milliseconds automatically - `market trending`: `--filter` and `--platform` are repeatable flags -- `market hot-searches`: `--chain` and `--filter` are repeatable flags; omit `--chain` to query the default 7-chain set. `--min-*`/`--max-*` range flags reuse the same metric names as `market trending` and are translated server-side per `--interval` +- `market hot-searches`: `--chain` and `--filter` are repeatable flags; omit `--chain` to query the default 5-chain set. `--min-*`/`--max-*` range flags reuse the same metric names as `market trending` and are translated server-side per `--interval` - All commands use exist auth (API Key only, no signature) - If the user doesn't provide kline timestamps, calculate them from the current time based on their desired time range - Use `--raw` to get single-line JSON for further processing diff --git a/src/commands/market.ts b/src/commands/market.ts index d86ba10..678851e 100644 --- a/src/commands/market.ts +++ b/src/commands/market.ts @@ -246,7 +246,7 @@ export function registerMarketCommands(program: Command): void { process.exit(1); } } else { - // Empty params lets the server apply its default 7-chain config. Filter fields + // Empty params lets the server apply its default 5-chain config. Filter fields // are flattened directly onto each param (no nested `filter` object). const optsMap = opts as Record; const chains: string[] = opts.chain?.length ? (opts.chain as string[]) : [];