zerion-wallet-data
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "zerion-wallet-data":https://skillpi.com/zh/skills/deepskill-f36eec95bf43186491edb2ff7645b50f65aeede949a81ff0ee65311c4c9273a7。安装前核对上游来源和版本:https://github.com/moonpay/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
在用户请求时查询钱包的投资组合信息:代币余额、DeFi 头寸、盈亏(PnL)、交易历史或 NFT。通过 x402 按请求付费或使用 API 密钥,提供跨 40 多个 EVM 链和 Solana 的链上数据解析结果——无需原始 RPC 解码。
介绍来源: third_party · moonpay · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 来源文档未说明。
- 输入和输出
- 来源文档未说明。
- 软件、账号及付费要求
- 翻译待完成,请参阅来源文档。
- 限制与区别
- 来源文档未说明。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: zerion-wallet-data
description: Use when the user asks to check a wallet's portfolio, token balances, DeFi positions, PnL, transaction history, or NFTs. Provides interpreted on-chain data across 40+ EVM chains and Solana via x402 pay-per-request or API key — no raw RPC decoding needed.
tags: [zerion, x402, wallet, portfolio, defi, pnl, transactions, nfts, positions]Zerion Wallet Data
Goal
Query interpreted wallet data — portfolios, token positions, DeFi positions, PnL, transactions, NFTs, and chain/token metadata — via x402 pay-per-request on Base or API key auth. All data is pre-enriched with protocol labels, token names, and USD values.
Prerequisites
- Wallet with USDC on Base:
mp token balance list --wallet main --chain base - Small ETH on Base for gas
- If no USDC: bridge from Ethereum or swap via
mp token swap --chain base
Core command
mp x402 request \
--method GET \
--url "https://api.zerion.io/v1/<endpoint>" \
--wallet main \
--chain base
All endpoints are GET requests. Cost is $0.01 USDC per request on Base.
Endpoint Reference
Wallet Endpoints
| Endpoint | Cost | Description |
|---|---|---|
/v1/wallets/{address}/portfolio |
$0.01 | Aggregated portfolio value with total USD balance |
/v1/wallets/{address}/positions/ |
$0.01 | Token balances and DeFi positions (staked, deposited, etc.) |
/v1/wallets/{address}/transactions/ |
$0.01 | Interpreted transaction history with labels and types |
/v1/wallets/{address}/pnl |
$0.01 | Profit and Loss — unrealized PnL, realized PnL, net invested |
/v1/wallets/{address}/charts/{period} |
$0.01 | Portfolio balance chart over time (1d, 1w, 1m, 3m, 1y, max) |
/v1/wallets/{address}/nft-positions/ |
$0.01 | NFTs held by the wallet |
/v1/wallets/{address}/nft-collections/ |
$0.01 | NFT collections with floor prices |
/v1/wallets/{address}/nft-portfolio |
$0.01 | Aggregated NFT portfolio value |
Token (Fungible) Endpoints
| Endpoint | Cost | Description |
|---|---|---|
/v1/fungibles/ |
$0.01 | Search and list tokens |
/v1/fungibles/{id} |
$0.01 | Token details — price, market cap, volume, implementations |
/v1/fungibles/{id}/charts/{period} |
$0.01 | Token price chart |
/v1/fungibles/by-implementation |
$0.01 | Look up token by chain:address pair |
/v1/fungibles/by-implementation/charts/{period} |
$0.01 | Price chart by implementation |
Chain Endpoints
| Endpoint | Cost | Description |
|---|---|---|
/v1/chains/ |
$0.01 | List all supported chains (40+ EVM + Solana) |
/v1/chains/{id} |
$0.01 | Chain details — RPC, explorer, native token |
Swap Endpoints
| Endpoint | Cost | Description |
|---|---|---|
/v1/swap/fungibles/ |
$0.01 | List swappable tokens |
/v1/swap/offers/ |
$0.01 | Get swap/bridge quotes |
Gas Endpoints
| Endpoint | Cost | Description |
|---|---|---|
/v1/gas-prices/ |
$0.01 | Current gas prices by chain |
NFT Endpoints
| Endpoint | Cost | Description |
|---|---|---|
/v1/nfts/ |
$0.01 | Search NFTs |
/v1/nfts/{id} |
$0.01 | NFT details with metadata and traits |
DApp Endpoints
| Endpoint | Cost | Description |
|---|---|---|
/v1/dapps |
$0.01 | List DeFi protocols |
/v1/dapps/{id} |
$0.01 | Protocol details — TVL, chains, categories |
Common query parameters
| Parameter | Values | Purpose |
|---|---|---|
currency |
usd, eur, eth, btc |
Fiat/crypto currency for values |
filter[chain_ids] |
ethereum, base, solana |
Filter by chain (comma-separated) |
filter[positions] |
only_simple, only_complex, no_filter |
only_simple = wallet tokens, only_complex = DeFi, no_filter = both |
filter[trash] |
only_non_trash, only_trash, no_filter |
Filter spam tokens |
sort |
value, -value |
Sort by USD value |
page[size] |
integer | Results per page (max 100) |
page[after] |
string | Cursor for next page |
Example: Full wallet analysis
mp x402 request \
--method GET \
--url "https://api.zerion.io/v1/wallets/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045/portfolio?currency=usd" \
--wallet main \
--chain base
Example: DeFi positions
mp x402 request \
--method GET \
--url "https://api.zerion.io/v1/wallets/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045/positions/?filter[positions]=only_complex¤cy=usd" \
--wallet main \
--chain base
Example: Profit and loss
mp x402 request \
--method GET \
--url "https://api.zerion.io/v1/wallets/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045/pnl?currency=usd" \
--wallet main \
--chain base
Example: Token lookup by contract address
mp x402 request \
--method GET \
--url "https://api.zerion.io/v1/fungibles/by-implementation?filter[implementation_address]=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&filter[implementation_chain_id]=ethereum" \
--wallet main \
--chain base
Example: Recent transactions
mp x402 request \
--method GET \
--url "https://api.zerion.io/v1/wallets/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045/transactions/?currency=usd&page[size]=10" \
--wallet main \
--chain base
Discover all endpoints
mp x402 request \
--method GET \
--url "https://api.zerion.io/.well-known/x402" \
--wallet main \
--chain base
Alternative: Zerion CLI
You can also query Zerion data directly via the Zerion CLI:
npm install -g zerion-cli
zerion-cli wallet portfolio <address>
zerion-cli wallet positions <address> --positions all
zerion-cli wallet transactions <address>
zerion-cli wallet pnl <address>
zerion-cli chains list
Auth via API key (ZERION_API_KEY env var) or x402 pay-per-call (ZERION_X402=true env var, or --x402 flag). Get an API key at dashboard.zerion.io.
Notes
- Payments are in USDC on Base Mainnet (
--chain base) - If the request fails (status >= 400), payment is not settled — you don't pay for errors
- ETH on Base is needed for gas (~$0.001 per tx)
- All responses follow JSON:API format with
data,links, andrelationships - Data is pre-interpreted: protocol names, token symbols, USD values included — no ABI decoding needed
- Supports 40+ EVM chains and Solana in a single query
Related skills
- moonpay-auth — Create or import a local wallet
- moonpay-check-wallet — Check USDC balance on Base before spending
- moonpay-x402 — Learn how x402 pay-per-request works
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 直接解决用户查询钱包投资组合、代币余额、DeFi头寸、盈亏、交易历史或NFT的核心任务痛点
- 支持40+ EVM链和Solana,提供跨链数据解析结果,无需原始RPC解码
- 显著提升日常高频场景的效率
亮点
- 触发词精准完整,覆盖多种变体,边界清晰
- description明确描述了使用场景:查询钱包的投资组合、代币余额、DeFi头寸、PnL、交易历史或NFT时可使用此功能
待提升项
-
缺少When to Use章节 原报告严重程度:轻微
文档结构清晰,但缺少明确的When to Use章节来进一步说明使用时机
改进建议:建议在文档开头添加When to Use章节,进一步明确Skill的使用时机和场景
亮点
- Phase/步骤清晰,有出口条件
- 含端到端示例
- frontmatter完整
- 单文件≤500行
亮点
- 工具来源明确
- 参数正确
- 覆盖主要异常
- 不可逆操作有确认机制
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
安装或获取外部依赖
使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。
主文档提及 · 第 175 行 -
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 3, 11, 186 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- api.zerion.io
- dashboard.zerion.io
- jsonapi.org
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
翻译待完成,请参阅来源文档。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。