balance

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Check Balance

余额查询

Use this skill to inspect the wallet's holdings. By default, it checks the Base network, but can be directed to others.
使用此技能查看钱包资产。默认情况下,它会检查Base网络,但也可以指定其他网络。

Hard Rules (CRITICAL)

硬性规则(至关重要)

  1. Chain Specification:
    • If the user mentions a specific chain (e.g., "on Monad", "for my Citrea wallet"), you MUST include the
      --chain <name>
      parameter.
    • If the user DOES NOT mention a chain, you MUST either:
      • Explicitly state the default: "I will check your balance on Base. Is that correct?"
      • OR ask for clarification: "Which chain would you like to check? Base, Citrea, HyperEVM, or Monad?"
  1. 链规格说明:
    • 如果用户提到特定链(例如"在Monad上"、"我的Citrea钱包"),你必须添加
      --chain <name>
      参数。
    • 如果用户提及链,你必须:
      • 明确说明默认值:"我将为你查询Base链上的余额。是否正确?"
      • 或者请求澄清:"你想查询哪个链的余额?Base、Citrea、HyperEVM还是Monad?"

usage

使用方法

bash
npx fibx@latest balance [--chain <chain>] [--json]
bash
npx fibx@latest balance [--chain <chain>] [--json]

Options

选项

OptionDescription
--chain <network>
Network to check:
base
,
citrea
,
hyperevm
,
monad
. Default:
base
.
--json
Output results in JSON format.
选项说明
--chain <network>
要查询的网络:
base
citrea
hyperevm
monad
。默认值:
base
--json
以JSON格式输出结果。

Examples

示例

Check Base Balance (Default)

查询Base链余额(默认)

bash
npx fibx@latest balance
bash
npx fibx@latest balance

Check Monad Balance

查询Monad链余额

bash
npx fibx@latest balance --chain monad
bash
npx fibx@latest balance --chain monad

Get Raw Data

获取原始数据

bash
npx fibx@latest balance --json
bash
npx fibx@latest balance --json

Error Handling

错误处理

  • "Not authenticated": Run
    authenticate-wallet
    skill.
  • "Network error": Retry the command once.
  • "未通过身份验证": 运行
    authenticate-wallet
    技能。
  • "网络错误": 重试一次命令。