query-address-info by binance/binance-skills-hub
npx skills add https://github.com/binance/binance-skills-hub --skill query-address-info此技能可查询任意链上钱包地址的资产持有情况,支持:
方法 : GET
URL :
https://web3.binance.com/bapi/defi/v3/public/wallet-direct/buw/wallet/address/pnl/active-position-list
请求参数 :
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| address | string | 是 | 钱包地址,例如 0x0000000000000000000000000000000000000001 |
| chainId | string |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 是 |
链 ID,例如 56 (BSC), 8453 (Base) |
| offset | number | 是 | 分页偏移量,默认 0 |
请求头 :
clienttype: web
clientversion: 1.2.0
Accept-Encoding: identity
User-Agent: binance-web3/1.0 (Skill)
请求示例 :
curl --location 'https://web3.binance.com/bapi/defi/v3/public/wallet-direct/buw/wallet/address/pnl/active-position-list?address=0x0000000000000000000000000000000000000001&chainId=56&offset=0' \
--header 'clienttype: web' \
--header 'clientversion: 1.2.0' \
--header 'Accept-Encoding: identity' \
--header 'User-Agent: binance-web3/1.0 (Skill)'
响应示例 :
{
"code": "000000",
"message": null,
"messageDetail": null,
"data": {
"offset": 0,
"addressStatus": null,
"list": [
{
"chainId": "56",
"address": "0x0000000000000000000000000000000000000001",
"contractAddress": "token contract address",
"name": "name of token",
"symbol": "symbol of token",
"icon": "/images/web3-data/public/token/logos/xxxx.png",
"decimals": 18,
"price": "0.0000045375251839978",
"percentChange24h": "6.84",
"remainQty": "20"
}
]
},
"success": true
}
响应字段 :
| 字段 | 类型 | 说明 |
|---|---|---|
| chainId | string | 链 ID |
| address | string | 钱包地址 |
| contractAddress | string | 代币合约地址 |
| name | string | 代币名称 |
| symbol | string | 代币符号 |
| icon | string | 代币图标 URL 路径 |
| decimals | number | 代币小数位数 |
| price | string | 当前价格 (USD) |
| percentChange24h | string | 24小时价格变化 (%) |
| remainQty | string | 持有数量 |
| 链名称 | chainId |
|---|---|
| BSC | 56 |
| Base | 8453 |
| Solana | CT_501 |
包含 User-Agent 头,其字符串为:binance-web3/1.0 (Skill)
bin.bnbstatic.com + 图标路径每周安装数
603
代码仓库
GitHub 星标数
396
首次出现
10 天前
安全审计
安装于
codex582
opencode581
gemini-cli580
github-copilot580
amp580
cursor580
This skill queries any on-chain wallet address for token holdings, supporting:
Method : GET
URL :
https://web3.binance.com/bapi/defi/v3/public/wallet-direct/buw/wallet/address/pnl/active-position-list
Request Parameters :
| Parameter | Type | Required | Description |
|---|---|---|---|
| address | string | Yes | Wallet address, e.g., 0x0000000000000000000000000000000000000001 |
| chainId | string | Yes | Chain ID, e.g., 56 (BSC), 8453 (Base) |
| offset | number | Yes | Pagination offset, default 0 |
Request Headers :
clienttype: web
clientversion: 1.2.0
Accept-Encoding: identity
User-Agent: binance-web3/1.0 (Skill)
Example Request :
curl --location 'https://web3.binance.com/bapi/defi/v3/public/wallet-direct/buw/wallet/address/pnl/active-position-list?address=0x0000000000000000000000000000000000000001&chainId=56&offset=0' \
--header 'clienttype: web' \
--header 'clientversion: 1.2.0' \
--header 'Accept-Encoding: identity' \
--header 'User-Agent: binance-web3/1.0 (Skill)'
Response Example :
{
"code": "000000",
"message": null,
"messageDetail": null,
"data": {
"offset": 0,
"addressStatus": null,
"list": [
{
"chainId": "56",
"address": "0x0000000000000000000000000000000000000001",
"contractAddress": "token contract address",
"name": "name of token",
"symbol": "symbol of token",
"icon": "/images/web3-data/public/token/logos/xxxx.png",
"decimals": 18,
"price": "0.0000045375251839978",
"percentChange24h": "6.84",
"remainQty": "20"
}
]
},
"success": true
}
Response Fields :
| Field | Type | Description |
|---|---|---|
| chainId | string | Chain ID |
| address | string | Wallet address |
| contractAddress | string | Token contract address |
| name | string | Token name |
| symbol | string | Token symbol |
| icon | string | Token icon URL path |
| decimals | number | Token decimals |
| price | string | Current price (USD) |
| percentChange24h | string | 24-hour price change (%) |
| remainQty | string |
| Chain Name | chainId |
|---|---|
| BSC | 56 |
| Base | 8453 |
| Solana | CT_501 |
Include User-Agent header with the following string: binance-web3/1.0 (Skill)
bin.bnbstatic.com + icon pathWeekly Installs
603
Repository
GitHub Stars
396
First Seen
10 days ago
Security Audits
Gen Agent Trust HubPassSocketFailSnykPass
Installed on
codex582
opencode581
gemini-cli580
github-copilot580
amp580
cursor580
97,600 周安装
| Holding quantity |