Skip to main content
Glama
Br0ski777

wallet-portfolio

by Br0ski777

Wallet Portfolio Tracker API

MCP Server x402 License: MIT

跨链的完整加密钱包持仓——ETH、ERC-20 代币、美元价值。面向代理的投资组合追踪。通过 x402 按调用付费(Base L2 上的 USDC)——无需 API 密钥、无需注册、无速率限制墙。

属于 klymax402 市场的一部分——为 AI 代理提供 100 个 x402 微支付 API,一个钱包,Base 上的 USDC。

快速入门 -- MCP

添加到你的 MCP 客户端配置(Claude Desktop、Cursor、ElizaOS 等):

{
  "mcpServers": {
    "wallet-portfolio": {
      "url": "https://wallet-portfolio.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: AgentWallet MCP Server

快速入门 -- HTTP (x402)

curl "https://wallet-portfolio.api.klymax402.com/api/portfolio?address=0x0000000000000000000000000000000000dEaD"
# -> 402 Payment Required, with an x402 payment challenge in the response body

任何支持 x402 的客户端(@x402/fetchx402-agent-tools、ATXP)都会自动处理 402 -> 签名 -> 重试循环。

工具

工具

方法

路径

价格

描述

wallet_get_portfolio

GET

/api/portfolio

$0.008

获取包含所有代币余额和美元价值的完整投资组合

wallet_get_portfolio

POST

/api/portfolio

$0.008

获取包含所有代币余额和美元价值的完整投资组合(POST 变体)

wallet_get_balance

GET

/api/balance

$0.003

仅获取 ETH 和 USDC 余额

wallet_get_balance

POST

/api/balance

$0.003

仅获取 ETH 和 USDC 余额(POST 变体)

wallet_get_portfolio

当你需要检查加密钱包在多个链上的持仓时使用此工具。返回 JSON 格式的完整投资组合明细。

参数

名称

类型

必填

描述

address

string

钱包地址(0x...)

chain

string

区块链网络(默认:base)

返回值

  • nativeBalance -- ETH 余额及美元价值

  • tokens -- ERC-20 代币数组,包含符号、余额、美元价值、合约地址

  • totalValueUsd -- 投资组合总价值(美元)

  • chain -- 查询的网络

示例响应:

{"nativeBalance":{"symbol":"ETH","balance":"1.234","valueUsd":3827.50},"tokens":[{"symbol":"USDC","balance":"500.00","valueUsd":500.00}],"totalValueUsd":4327.50,"chain":"base"}

使用场景:执行交换以验证钱包有足够余额。对于投资组合追踪、余额检查和代理自我报告至关重要。

不适用于:gas 价格(使用 gas_get_current_price)、交换报价(使用 dex_get_swap_quote)、收益机会(使用 defi_find_best_yields)。

wallet_get_portfolio

当你需要检查加密钱包在多个链上的持仓时使用此工具。返回 JSON 格式的完整投资组合明细。

参数

名称

类型

必填

描述

address

string

钱包地址(0x...)

chain

string

区块链网络(默认:base)

返回值

  • nativeBalance -- ETH 余额及美元价值

  • tokens -- ERC-20 代币数组,包含符号、余额、美元价值、合约地址

  • totalValueUsd -- 投资组合总价值(美元)

  • chain -- 查询的网络

示例响应:

{"nativeBalance":{"symbol":"ETH","balance":"1.234","valueUsd":3827.50},"tokens":[{"symbol":"USDC","balance":"500.00","valueUsd":500.00}],"totalValueUsd":4327.50,"chain":"base"}

使用场景:执行交换以验证钱包有足够余额。对于投资组合追踪、余额检查和代理自我报告至关重要。

不适用于:gas 价格(使用 gas_get_current_price)、交换报价(使用 dex_get_swap_quote)、收益机会(使用 defi_find_best_yields)。

wallet_get_balance

当你只需要快速检查钱包的 ETH 和 USDC 余额时使用此工具。返回轻量级 JSON 响应——比完整投资组合更便宜。

参数

名称

类型

必填

描述

address

string

钱包地址(0x...)

chain

string

区块链网络(默认:base)

返回值

  • ethBalance -- 原生 ETH 余额及美元价值

  • usdcBalance -- USDC 余额及美元价值

  • chain -- 查询的网络

示例响应:

{"ethBalance":{"balance":"2.5","valueUsd":7750.00},"usdcBalance":{"balance":"1000.00","valueUsd":1000.00},"chain":"base"}

使用场景:当你只关心 ETH 和 USDC 时,快速进行交易前余额验证。比 wallet_get_portfolio 更快更便宜。

不适用于:包含所有代币的完整投资组合(使用 wallet_get_portfolio)、gas 价格(使用 gas_get_current_price)。

wallet_get_balance

当你只需要快速检查钱包的 ETH 和 USDC 余额时使用此工具。返回轻量级 JSON 响应——比完整投资组合更便宜。

参数

名称

类型

必填

描述

address

string

钱包地址(0x...)

chain

string

区块链网络(默认:base)

返回值

  • ethBalance -- 原生 ETH 余额及美元价值

  • usdcBalance -- USDC 余额及美元价值

  • chain -- 查询的网络

示例响应:

{"ethBalance":{"balance":"2.5","valueUsd":7750.00},"usdcBalance":{"balance":"1000.00","valueUsd":1000.00},"chain":"base"}

使用场景:当你只关心 ETH 和 USDC 时,快速进行交易前余额验证。比 wallet_get_portfolio 更快更便宜。

不适用于:包含所有代币的完整投资组合(使用 wallet_get_portfolio)、gas 价格(使用 gas_get_current_price)。

示例代理提示

  • "检查加密钱包在多个链上的持仓"

  • "检查加密钱包在多个链上的持仓"

  • "快速检查钱包的 ETH 和 USDC 余额"

支付

  • 协议:x402 -- 原生 HTTP 按调用付费,无需注册,无需 API 密钥

  • 网络:Base L2(eip155:8453

  • 资产:USDC

  • 促进者:Coinbase CDP(主要),PayAI(备用)

  • 也可通过 ATXP 访问(OAuth 包装的 x402,RFC 9728 受保护资源元数据)

属于 klymax402

为 AI 代理提供 100 个 x402 微支付 API——一个钱包,Base 上的 USDC,零注册。

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to retrieve real-time data on wallet DeFi positions, token balances, and NFT holdings across multiple blockchains. It supports hundreds of protocols and provides specialized tools for chain-specific or protocol-specific portfolio analysis.
    8
    16
    3
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides permissionless wallet infrastructure for AI agents to manage wallets, sign transactions, and handle tokens across Solana and all EVM-compatible chains. It includes 29 specialized tools for on-chain operations, featuring built-in security guards and automated x402 payment processing without KYC requirements.
    29
    334
    3
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to fetch live multi-chain portfolio, token info, gas prices, and token prices across Ethereum, Base, Polygon, Arbitrum, and Optimism with a single call. No API key required.
    4
    MIT

View all related MCP servers

Related MCP Connectors

  • Token swaps and honeypot/rug checks for AI agents on 8 chains, paid per-call in USDC via x402.

  • Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.

  • 63 pay-per-call tools for agents: vision, text, data, web, blockchain. USDC on Base via x402.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Br0ski777/wallet-portfolio-x402'

If you have feedback or need assistance with the MCP directory API, please join our Discord server