地址查询

query-address-info

by binance-skills-hub

|

3.8k其他未扫描2026年3月23日

安装

claude skill add --url github.com/openclaw/skills/tree/main/skills/binance-skills-hub/binance-web3-query-address-info

文档

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

API Endpoint

Query Wallet Token Balance

Method: GET

URL:

code
https://web3.binance.com/bapi/defi/v3/public/wallet-direct/buw/wallet/address/pnl/active-position-list

Request Parameters:

ParameterTypeRequiredDescription
addressstringYesWallet address, e.g., 0x0000000000000000000000000000000000000001
chainIdstringYesChain ID, e.g., 56 (BSC), 8453 (Base)
offsetnumberYesPagination offset, default 0

Request Headers:

code
clienttype: web
clientversion: 1.2.0
Accept-Encoding: identity
User-Agent: binance-web3/1.0 (Skill)

Example Request:

bash
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:

json
{
    "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:

FieldTypeDescription
chainIdstringChain ID
addressstringWallet address
contractAddressstringToken contract address
namestringToken name
symbolstringToken symbol
iconstringToken icon URL path
decimalsnumberToken decimals
pricestringCurrent price (USD)
percentChange24hstring24-hour price change (%)
remainQtystringHolding quantity

Supported Chains

Chain NamechainId
BSC56
Base8453
SolanaCT_501

Use Cases

  1. Query Wallet Assets: When users want to view tokens held by a wallet address
  2. Track Holdings: Monitor wallet token positions
  3. Portfolio Analysis: Understand wallet asset allocation

User Agent Header

Include User-Agent header with the following string: binance-web3/1.0 (Skill)

Notes

  1. Icon URL requires full domain prefix: bin.bnbstatic.com + icon path
  2. Price and quantity are string format, convert to numbers when using
  3. Use offset parameter for pagination

相关 Skills

claude-api

by anthropic

热门

Build apps with the Claude API or Anthropic SDK. TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`/`claude_agent_sdk`, or user asks to use Claude API, Anthropic SDKs, or Agent SDK. DO NOT TRIGGER when: code imports `openai`/other AI SDK, general programming, or ML/data-science tasks.

其他
安全111.1k

Detect scam tokens on Solana before you trade. Checks ticker patterns, token age, and known scam mints. Read-only — no wallet signing required.

其他
未扫描3.8k

revenue-studio

by amoldericksoans

A revenue-first solofounder studio that watches markets, finds monetizable pain, validates offers, ships narrow products, and compounds commercial memory across launches. Uses massive parallel agent orchestration with 8 layers: Signal Mesh, Extraction, Opportunity Graph, Cofounder Council, Revenue Lab, Build Studio, Launch Loop, and Portfolio Allocator.

其他
未扫描3.8k

评论