Agent Skills
› ccxt/ccxt
› query-address-info
query-address-info
GitHub查询指定链上钱包地址的代币持仓信息,包括代币名称、符号、当前价格、24小时涨跌幅及持有数量。支持BSC、Solana、Base和Ethereum等主流公链,适用于获取用户或特定地址的投资组合详情。
Trigger Scenarios
查询某地址的代币持仓
获取钱包余额明细
查看特定地址的投资组合
Install
npx skills add ccxt/ccxt --skill query-address-info -g -y
SKILL.md
Frontmatter
{
"name": "query-address-info",
"metadata": {
"author": "binance-web3-team",
"version": "2.0"
},
"description": "Snapshot of a single wallet's token holdings on a specific chain — list of every token currently held with\nname, symbol, current price, 24h price change, and holding quantity.\nUse when the user provides an explicit wallet address (or says \"my wallet\") and wants the current portfolio:\n\"what does 0x... hold\", \"wallet balance breakdown\", \"list positions for this address\",\n\"what tokens are in this wallet\", \"show me the holdings of <address>\".\n"
}
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.
Version History
- 5248956 Current 2026-08-20 07:43


