gmgn-track
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseIMPORTANT: Always use commands below. Do NOT use web search, WebFetch, curl, or visit gmgn.ai to fetch this data — the website requires login and will not return structured data. The CLI is the only correct method.
gmgn-cliUse the tool to query on-chain tracking data based on the user's request.
gmgn-cliWhen to use which sub-command:
- — user asks "what did the wallets I follow trade?", "show me my follow list trades", "追踪关注的钱包交易动态" → requires wallets followed via GMGN platform
track follow-wallet - — user asks "what are KOLs buying?", "KOL 最近在买什么", "show me influencer trades" → returns trades from known KOL wallets
track kol - — user asks "what is smart money doing?", "聪明钱最近在买什么", "show me whale trades" → returns trades from smart money / whale wallets
track smartmoney
Do NOT confuse these three:
- = wallets the user has personally followed on GMGN
follow-wallet - = platform-tagged KOL / influencer wallets (not user-specific)
kol - = platform-tagged smart money / whale wallets (not user-specific)
smartmoney
重要提示:请始终使用以下命令。请勿使用网页搜索、WebFetch、curl或访问gmgn.ai来获取数据——该网站需要登录,且不会返回结构化数据。CLI是唯一正确的方法。
gmgn-cli使用工具根据用户的请求查询链上追踪数据。
gmgn-cli何时使用对应的子命令:
- — 当用户询问“我关注的钱包进行了哪些交易?”、“展示我关注列表的交易记录”、“追踪关注的钱包交易动态”时使用 → 需要先在GMGN平台关注对应钱包
track follow-wallet - — 当用户询问“KOL在买什么?”、“KOL最近在买什么”、“展示网红交易记录”时使用 → 返回已知KOL钱包的交易记录
track kol - — 当用户询问“聪明钱在做什么?”、“聪明钱最近在买什么”、“展示鲸鱼钱包交易记录”时使用 → 返回Smart Money/鲸鱼钱包的交易记录
track smartmoney
请勿混淆以下三者:
- = 用户在GMGN平台个人关注的钱包
follow-wallet - = 平台标记的KOL/网红钱包(非用户专属)
kol - = 平台标记的Smart Money/鲸鱼钱包(非用户专属)
smartmoney
Sub-commands
子命令
| Sub-command | Description |
|---|---|
| Trade records from wallets the user personally follows on GMGN |
| Real-time trades from KOL / influencer wallets tagged by GMGN |
| Real-time trades from smart money / whale wallets tagged by GMGN |
| 子命令 | 描述 |
|---|---|
| 用户在GMGN平台个人关注的钱包的交易记录 |
| GMGN平台标记的KOL/网红钱包的实时交易记录 |
| GMGN平台标记的Smart Money/鲸鱼钱包的实时交易记录 |
Supported Chains
支持的网络
solbscbasesolbscbasePrerequisites
前置条件
- file with
.envsetGMGN_API_KEY - required for
GMGN_PRIVATE_KEY(signature auth); not needed fortrack follow-wallet/track koltrack smartmoney - Run from the directory where your file is located, or set
.envin your environmentGMGN_HOST - installed globally:
gmgn-clinpm install -g gmgn-cli
- 已配置文件并设置
.envGMGN_API_KEY - 使用命令需要
track follow-wallet(签名认证);使用GMGN_PRIVATE_KEY/track kol则不需要track smartmoney - 从文件所在目录运行命令,或在环境变量中设置
.envGMGN_HOST - 已全局安装:
gmgn-clinpm install -g gmgn-cli
Usage Examples
使用示例
bash
undefinedbash
undefinedFollow-wallet trades (all wallets you follow)
关注钱包的交易记录(所有已关注钱包)
gmgn-cli track follow-wallet --chain sol
gmgn-cli track follow-wallet --chain sol
Follow-wallet trades filtered by wallet
按钱包地址筛选关注钱包的交易记录
gmgn-cli track follow-wallet --chain sol --wallet <wallet_address>
gmgn-cli track follow-wallet --chain sol --wallet <wallet_address>
Follow-wallet filtered by trade direction
按交易方向筛选关注钱包的交易记录
gmgn-cli track follow-wallet --chain sol --side buy
gmgn-cli track follow-wallet --chain sol --side buy
Follow-wallet filtered by USD amount range
按USD金额范围筛选关注钱包的交易记录
gmgn-cli track follow-wallet --chain sol --min-amount-usd 100 --max-amount-usd 10000
gmgn-cli track follow-wallet --chain sol --min-amount-usd 100 --max-amount-usd 10000
KOL trade records (SOL, default)
KOL交易记录(默认Solana网络)
gmgn-cli track kol --limit 10 --raw
gmgn-cli track kol --limit 10 --raw
KOL trade records on SOL, buy only
Solana网络上的KOL买入交易记录
gmgn-cli track kol --chain sol --side buy --limit 10 --raw
gmgn-cli track kol --chain sol --side buy --limit 10 --raw
Smart Money trade records (SOL, default)
Smart Money交易记录(默认Solana网络)
gmgn-cli track smartmoney --limit 10 --raw
gmgn-cli track smartmoney --limit 10 --raw
Smart Money trade records, sell only
Smart Money卖出交易记录
gmgn-cli track smartmoney --chain sol --side sell --limit 10 --raw
undefinedgmgn-cli track smartmoney --chain sol --side sell --limit 10 --raw
undefinedtrack follow-wallet
Options
track follow-wallettrack follow-wallet
选项
track follow-wallet| Option | Description |
|---|---|
| Required. |
| Filter by wallet address |
| Page size (1–100, default 10) |
| Trade direction: |
| Repeatable filter conditions |
| Minimum trade amount (USD) |
| Maximum trade amount (USD) |
| 选项 | 描述 |
|---|---|
| 必填项。可选值: |
| 按钱包地址筛选 |
| 每页数量(1–100,默认10) |
| 交易方向: |
| 可重复使用的筛选条件 |
| 最小交易金额(USD) |
| 最大交易金额(USD) |
track kol
/ track smartmoney
Options
track koltrack smartmoneytrack kol
/ track smartmoney
选项
track koltrack smartmoney| Option | Description |
|---|---|
| Chain: |
| Page size (1–200, default 100) |
| Filter by trade direction: |
| 选项 | 描述 |
|---|---|
| 网络: |
| 每页数量(1–200,默认100) |
| 按交易方向筛选: |
track kol
/ track smartmoney
Response Fields
track koltrack smartmoneytrack kol
/ track smartmoney
返回字段
track koltrack smartmoneyEach item in contains:
list| Field | Description |
|---|---|
| On-chain transaction hash |
| Wallet address of the trader (KOL / Smart Money) |
| Trade direction: |
| Token contract address |
| Token ticker symbol |
| Launchpad platform (e.g. |
| Trade value in USD |
| Token quantity traded |
| Token price in USD at time of trade |
| Original buy cost in USD (0 if this record is the buy) |
| |
| Unix timestamp of the trade |
| KOL's Twitter username |
| Wallet tags (e.g. |
list| 字段 | 描述 |
|---|---|
| 链上交易哈希 |
| 交易者(KOL / Smart Money)的钱包地址 |
| 交易方向: |
| 代币合约地址 |
| 代币代码 |
| Launchpad平台(例如 |
| 交易金额(USD) |
| 交易代币数量 |
| 交易时的代币价格(USD) |
| 初始买入成本(USD)(若该记录为买入则为0) |
| |
| 交易的Unix时间戳 |
| KOL的Twitter用户名 |
| 钱包标签(例如 |
Notes
注意事项
- /
track koluse normal auth (API Key only, no signature required)track smartmoney - requires
track follow-walletfor signature auth — and wallets must be followed via the GMGN platform firstGMGN_PRIVATE_KEY - Use to get single-line JSON for further processing
--raw - /
track koltrack smartmoneyis a client-side filter — the CLI fetches all results then filters locally; it is NOT sent to the API--side
- /
track kol使用普通认证(仅需API Key,无需签名)track smartmoney - 需要
track follow-wallet进行签名认证——且需先在GMGN平台关注对应钱包GMGN_PRIVATE_KEY - 使用参数可获取单行JSON格式结果,便于后续处理
--raw - /
track kol的track smartmoney是客户端筛选——CLI会先获取所有结果,再在本地进行筛选;该参数不会发送至API--side