PluginBench
Skill
Pass
Audit score 90

query-address-info

binance/binance-skills-hub

Query wallet token holdings with current prices and 24h changes across multiple chains.

What is query-address-info?

Fetches a snapshot of all tokens held by a wallet address on supported blockchains (BSC, Solana, Base, Ethereum). Returns token names, symbols, current prices, 24-hour price changes, and holding quantities. Use when a user asks about a specific wallet's portfolio or token positions.

  • List all tokens currently held by a wallet address
  • Display current price for each token
  • Show 24-hour price change percentage
  • Return holding quantity for each position
  • Support pagination for wallets with many tokens
  • Work across BSC, Solana, Base, and Ethereum chains

How to install query-address-info

npx skills add https://github.com/binance/binance-skills-hub --skill query-address-info
Prerequisites
  • Node.js installed
  • Wallet address to query
  • Chain ID for the target blockchain (56 for BSC, CT_501 for Solana, 8453 for Base, 1 for Ethereum)
Claude Code
Cursor
Windsurf
Cline

How to use query-address-info

  1. 1.Identify the wallet address and target chain ID you want to query
  2. 2.Call the positions command with address, chainId, and offset=0
  3. 3.Parse the returned token list with name, symbol, price, 24h change, and quantity
  4. 4.For wallets with many tokens, increment offset and repeat until data.list is empty
  5. 5.Prepend https://bin.bnbstatic.com to icon paths to display token logos
  6. 6.Convert price, percentChange24h, and remainQty from strings to numbers for calculations

Use cases

Good for
  • User asks 'what does wallet 0x... hold?' to see complete portfolio breakdown
  • Portfolio analysis: retrieve all token positions and their current values
  • Price tracking: check 24h changes for tokens in a specific wallet
  • Multi-chain wallet inspection: query holdings on different blockchains
  • Wallet comparison: fetch holdings from multiple addresses to compare positions
Who it's for
  • Crypto traders analyzing wallet portfolios
  • DeFi users tracking their token holdings
  • Web3 developers building portfolio dashboards
  • Wallet auditors reviewing token positions
  • Investment analysts examining on-chain positions

query-address-info FAQ

Which blockchains are supported?

BSC (chainId 56), Solana (chainId CT_501), Base (chainId 8453), and Ethereum (chainId 1).

What does the offset parameter do?

Offset enables pagination through large token lists. Start with offset=0 for the first page, then increment for subsequent pages until the returned list is empty or shorter than page size.

Why are price and quantity returned as strings?

Numeric values are returned as strings to preserve precision. Convert them to numbers before performing arithmetic operations.

How do I display token icons?

Icon URLs are relative paths. Prepend https://bin.bnbstatic.com to the icon path to construct the full URL for rendering.

What information is returned for each token?

Each token includes: name, symbol, current price, 24-hour price change percentage, holding quantity, and icon URL.

Full instructions (SKILL.md)

Source of truth, from binance/binance-skills-hub.


name: query-address-info description: | 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>". metadata: author: binance-web3-team version: "2.0"

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 intentCommand
List a wallet's token holdings with price and 24h changepositions

Supported Chains

ChainchainId
BSC56
SolanaCT_501
Base8453
Ethereum1

How to Call APIs

node <skill-dir>/scripts/cli.mjs positions '{"address":"0x...","chainId":"56","offset":0}'

Commands

CommandPurposeRequired argsExample
positionsList wallet token holdings (price + 24h change + quantity)address, chainId, offsetnode <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.