query-address-info
它能做什么
这个技能查询你提供的任何加密钱包地址所持有的代币。适合想快速查看某个钱包资产概况的人。
适用场景
- ✓当你有一个钱包地址,想查看它持有哪些代币的时候。
- ✓当你想查看每项持仓的当前价格和 24 小时涨跌的时候。
- ✓当你想查看自己在受支持链上的钱包余额明细的时候。
技能链接
https://github.com/ccxt/ccxt/blob/master/.agents/skills/query-address-info/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“这个钱包地址在 BSC 上持有哪些代币,每种各有多少?”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会用地址和链调用持仓命令,然后持续请求更高偏移量的分页结果,直到没有更多数据,最后列出持仓。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Query Address Info Skill
Overview
This skill queries any on-chain wallet address for token holdings, supporting:
List of all tokens held by a wallet address Current price of each token 24-hour price change percentage Holding quantity
When to Use This Skill
| User intent | Command |
|---|---|
| List a wallet's token holdings with price and 24h change | positions |
Supported Chains
| Chain | chainId |
|---|---|
| BSC | 56 |
| Solana | CT_501 |
| Base | 8453 |
| Ethereum | 1 |
How to Call APIs
node <skill-dir>/scripts/cli.mjs positions '{"address":"0x...","chainId":"56","offset":0}'
Commands
| Command | Purpose | Required args | Example |
|---|---|---|---|
positions |
List wallet token holdings (price + 24h change + quantity) | address, chainId, offset |
node <skill-dir>/scripts/cli.mjs positions '{"address":"0x...","chainId":"56","offset":0}' |
Rules
offsetis required on every call — including the first page. Pass0to fetch the first page; increment for subsequent pages. Omitting it causes an upstream validation error.- Pagination: repeat with increasing
offsetuntildata.listis empty or shorter than the page size. - Icon URL prefix:
iconis a relative path (e.g.,/images/web3-data/public/token/logos/xxxx.png). Prependhttps://bin.bnbstatic.comto render. - Numbers as strings:
price,percentChange24h,remainQtyare strings — convert to numbers before arithmetic.
Full CLI Reference
See references/cli.md for per-subcommand invocations, parameter tables, return-field tables, and real response samples.
常见问题
支持哪些区块链?
技能支持 BSC、Solana、Base 和 Ethereum。
结果是分页返回的吗?
是的。技能说明,需要持续以更大的 offset 请求分页,直到不再返回结果。
为什么代币图标需要额外处理?
图标以相对路径提供,技能说明使用前需要在其前面加上网址前缀。
详情
作者的原始描述
Snapshot of a single wallet's token holdings on a specific chain — list of every token currently held with name, symbol, current price, 24h price change, and holding quantity. Use when the user provides an explicit wallet address (or says "my wallet") and wants the current portfolio: "what does 0x... hold", "wallet balance breakdown", "list positions for this address", "what tokens are in this wallet", "show me the holdings of <address>".
repo: ccxt/ccxt
热度
- GitHub 星标
- 45k
- 排名
- #6374
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
binance-agentic-wallet
45k帮你的智能体通过 baw 命令行管理 Binance Web3 钱包,包括登录、查询余额、转账、代币兑换和限价订单。
binance-sports-ai-analyzer
45k帮你的智能体查询世界杯比赛的预测、AI 分析和新闻洞察,并在你调整信号后重新计算胜率。
binance-tokenized-securities-info
45k帮你的智能体在 Binance Web3 上查询 Ondo 代币化美股,包括代币列表、公司信息、交易状态和链上价格。
binance
45k帮你的智能体通过 binance-cli 工具使用 Binance 现货、USD-M 合约和 Convert 功能。使用前需先完成身份验证设置。