DevX Multichain Balances

io.github.devx-agent由 GitHub 帳號 devx-agent 發布v2.1.0更新於 Nov 6, 2026

Balances on 7 EVM chains, Solana, Tron: free one-chain lookup; full call 0.002 USDC via x402.

已驗證Streamable HTTP可網頁執行資料庫金融

概覽

AI 產生的概覽

唯讀的多鏈錢包餘額查詢服務,涵蓋 7 條 EVM 鏈、Solana 與 Tron,提供免費單鏈工具與付費多鏈呼叫。

可以做什麼
  • 查詢單一地址在某條鏈上的原生幣及 USDC(Tron 上為 USDT)餘額,免費、唯讀,取最新區塊資料。
  • 取得如何購買完整多鏈呼叫的說明,該呼叫涵蓋 7 條 EVM 鏈、Solana 與 Tron 的主要代幣及自訂代幣,透過 x402 支付 0.002 USDC。
  • 支援 ethereum、base、arbitrum、optimism、polygon、avalanche、bsc、solana 與 tron 上的地址。
適用情境
適合助理需要回答某個錢包持有什麼、而使用者不想自行架設 RPC 基礎設施的情境,且免費的單鏈查詢已足夠。需要一次呼叫涵蓋多條鏈與主要代幣時,再考慮付費多鏈方式。
執行需求
遠端 streamable HTTP 端點無需任何憑證。本機 npm 套件透過 npx 執行(需 Node.js);付費多鏈呼叫需要環境變數 X402_PRIVATE_KEY,其值為持有 USDC 的 Base 錢包;未設定時付費呼叫只回傳報價。需要能連線至託管 API 的網路。
安裝前請注意
付費多鏈呼叫每次 0.002 USDC,以 X402_PRIVATE_KEY 中的錢包金鑰簽署,建議使用專用的低餘額錢包。自 v2 起該套件僅為輕量用戶端,所查詢的地址會傳送至託管 API。結果來自公開 RPC 節點,僅涵蓋固定代幣清單及 Solana 關聯代幣帳戶,穩定幣總額為面額而非市價。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 DevX Multichain Balances,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.devx-agent%2Fmultichain-balances/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "devx-multichain-balances": {
      "type": "http",
      "url": "https://wallet-balances.nextill-pos.workers.dev/mcp"
    }
  }
}

README

DevX Multichain Balances

One call, nine chains. Native coin plus the major tokens for an address on Base, Ethereum, Arbitrum, Optimism, Polygon, Avalanche, BNB Chain, Solana and Tron. It is built for AI agents and apps that need to answer "what does this wallet hold?" without running their own RPC setup.

Everything here is read-only. It never asks for keys and never moves funds.

WhatCost
CLI / stdio MCP devx-multichain-balances (v2)Client for the hosted API below. One chain (native + USDC, USDT on Tron) is free; all / multichain_balances is the paid call, paid from your own wallet keyfree / 0.002 USDC
Remote MCP https://wallet-balances.nextill-pos.workers.dev/mcpbasic_balance (one chain, free) + multichain_balances_infofree
HTTP API GET /v1/balancesUp to 3 addresses (one EVM, one Solana, one Tron) → native + USDC, USDT, DAI, EURC, bridged USDC, WETH, WBTC/cbBTC per EVM chain; SOL + USDC/USDT (SPL); TRX + USDT/USDC (TRC-20); plus up to 10 custom tokens (ERC-20, SPL mint, TRC-20). Block numbers/slots included, stablecoin face-value total0.002 USDC via x402 on Base

Live: https://wallet-balances.nextill-pos.workers.dev · token list: /tokens.json

CLI

sh
npx devx-multichain-balances 9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM          # free: SOL + USDC on Solananpx devx-multichain-balances TNXoiAJ3dct8Fjg4M9fkLFh9S2v9TXc32G                      # free: TRX + USDT on Tronnpx devx-multichain-balances 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 --chain arbitrum   # free: ETH + USDC on Arbitrum
# paid, 0.002 USDC per call: every matching chain, all majors, custom tokensexport X402_PRIVATE_KEY=0x...   # a Base wallet holding a little USDC (use a dedicated low-balance wallet)npx devx-multichain-balances all 0xd8dA...6045,9WzD...AWWM --chains base,ethereum,solana

How paying works: the CLI asks the API for its x402 quote, checks that it is USDC on Base, goes to 0xB3cD…f247 and is at or under --max-usd (default 0.01), then signs a gasless EIP-3009 authorization with your key via @x402/fetch. The key stays on your machine. Without a key, all prints the quote, pays nothing and exits with code 2. Since v2.0.0 the package is a thin client. It no longer ships the balance-reading code, and the addresses you query are sent to the hosted API.

MCP

Claude Desktop / Cursor (stdio):

json
{ "mcpServers": { "multichain-balances": { "command": "npx", "args": ["-y", "devx-multichain-balances", "mcp"], "env": { "X402_PRIVATE_KEY": "0x... (optional, enables the paid tool)" } } } }

Or remote (streamable HTTP): https://wallet-balances.nextill-pos.workers.dev/mcp (free tool + info only)

Tools: basic_balance (free), multichain_balances (0.002 USDC per call, pays only if X402_PRIVATE_KEY is set and never above 0.01 USDC, otherwise returns the quote), multichain_balances_info.

Paid hosted call (x402)

GET https://wallet-balances.nextill-pos.workers.dev/v1/balances?address=0x...,<solana>,<T...>[&chains=base,ethereum,solana,tron][&tokens=base:0xToken,solana:<mint>,tron:<T...>]
  • Answers 402 with an x402 v1 body (X-PAYMENT, network base) and a v2 PAYMENT-REQUIRED header (PAYMENT-SIGNATURE, eip155:8453). Both work. POST with a JSON body works too.
  • 2000 atomic USDC (0.002 USDC) to 0xB3cDDccEe6B150c8efFD55B961afc0Ecefe7f247, settled through the Coinbase CDP facilitator, listed in the CDP x402 Bazaar.
  • Settled only after a result is produced. Bad input, or every chain's RPC failing, is not charged. Failed chains are listed in summary.chains_failed.
  • chains defaults to every chain that matches the addresses you gave (evm = the 7 EVM chains).

Limits

  • It does not discover arbitrary tokens. It checks a fixed, verified list (see /tokens.json), and you can pass extra tokens yourself.
  • On Solana it reads the owner's associated token accounts (where wallets normally keep tokens). Tokens held in other token accounts are not counted.
  • The stablecoin total is face value (1 token = 1 unit), not a market price.
  • Data comes from free public RPC nodes (publicnode.com with fallbacks: mainnet-beta / Tatum gateway for Solana, TronGrid for Tron). Identical calls within 20 s may be served from a short per-instance cache (cache.hit).

OpenAPI: /openapi.json · Terms: /terms

Related DevX tools

Layout

  • cli/: npm package devx-multichain-balances (CLI + stdio MCP client for the hosted API), npm test
  • worker/: the Cloudflare Worker behind the hosted API (npm run build, npm test)

MIT. Made by DevX · [email protected]

來源:README.md,提交 644e6ad

工具

2

basic_balance

Free, read-only: native coin + USDC (USDT on Tron) balance of one address on one chain (ethereum, base, arbitrum, optimism, polygon, avalanche, bsc, solana, tron), live at the latest block. Address: EVM 0x, Solana base58 or Tron T...

輸入參數chainaddress必填

multichain_balances_info

How to buy the full call (native + USDC/USDT/DAI/EURC/bridged USDC/WETH/WBTC on 7 EVM chains, SOL + USDC/USDT on Solana, TRX + USDT on Tron, + custom tokens) via x402 for 0.002 USDC. Does not pay.

無需輸入參數。

版本歷史

1
  1. v2.1.0最新Oct 30, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分