跳到正文
Skillpedia
分析与电子表格45k · #6374

query-address-info

它能做什么

这个技能查询你提供的任何加密钱包地址所持有的代币。适合想快速查看某个钱包资产概况的人。

适用场景

  • ✓当你有一个钱包地址,想查看它持有哪些代币的时候。
  • ✓当你想查看每项持仓的当前价格和 24 小时涨跌的时候。
  • ✓当你想查看自己在受支持链上的钱包余额明细的时候。

技能链接

https://github.com/ccxt/ccxt/blob/master/.agents/skills/query-address-info/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ccxt/ccxt/blob/master/.agents/skills/query-address-info/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  • offset is required on every call — including the first page. Pass 0 to fetch the first page; increment for subsequent pages. Omitting it causes an upstream validation error.
  • Pagination: repeat with increasing offset until data.list is empty or shorter than the page size.
  • Icon URL prefix: icon is a relative path (e.g., /images/web3-data/public/token/logos/xxxx.png). Prepend https://bin.bnbstatic.com to render.
  • Numbers as strings: price, percentChange24h, remainQty are 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能