AgentSkillsCN

balance

在支持的区块链网络(Base、Citrea、HyperEVM、Monad)上查询钱包余额(ETH、USDC 等)。

SKILL.md
--- frontmatter
name: balance
description: Check wallet balances (ETH, USDC, etc.) on supported chains (Base, Citrea, HyperEVM, Monad).
license: MIT
compatibility: Requires Node.js and npx. Works with fibx CLI v0.1.2+.
metadata:
    version: 0.1.4
    author: ahmetenesdur
    category: wallet-data
allowed-tools:
    - Bash(npx fibx@latest balance *)
    - Bash(npx fibx@latest status)

Check Balance

Use this skill to inspect the wallet's holdings. By default, it checks the Base network, but can be directed to others.

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?"

usage

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

Options

OptionDescription
--chain <network>Network to check: base, citrea, hyperevm, monad. Default: base.
--jsonOutput results in JSON format.

Examples

Check Base Balance (Default)

bash
npx fibx@latest balance

Check Monad Balance

bash
npx fibx@latest balance --chain monad

Get Raw Data

bash
npx fibx@latest balance --json

Error Handling

  • "Not authenticated": Run authenticate-wallet skill.
  • "Network error": Retry the command once.