投资组合能力
通过自然语言提示查询投资组合数据和余额。
可执行操作
| 操作 | 示例提示 |
|---|---|
| 总资产组合 | Show my portfolio |
| 总余额 | What's my total balance? |
| 所有持仓 | List all my crypto holdings |
| 钱包价值 | How much is my wallet worth? |
| 链上余额 | Show my Base balance |
| 链上持仓 | What tokens do I have on Polygon? |
| 代币余额 | How much ETH do I have? |
| 跨链代币 | Show my USDC on all chains |
| 最大持仓 | What's my largest holding? |
| 代币位置 | Where do I have the most ETH? |
提示模式
Show my portfolio
What's my total balance?
Show my {chain} balance
How much {token} do I have?
Show my {token} on all chains
What tokens do I have on {chain}?
支持的链: Base、Polygon、Ethereum、Unichain、Solana
使用示例
import { execute } from "./bankr-client";
// 完整投资组合
await execute("Show my portfolio");
// 特定链
await execute("Show my Base balance");
// 特定代币
await execute("How much ETH do I have?");
// 跨链代币
await execute("Show my USDC on all chains");
相关技能
bankr-client-patterns- 客户端设置与 execute 函数bankr-api-basics- API 基础知识bankr-token-trading- 基于投资组合数据进行交易