check-balance
Check USDC balance across networks (Base, Solana). Use when the user wants to check balance, see how much USDC is available, view funds, or verify wallet balance. Covers "check my balance", "how much do I have", "show funds", "wallet balance".
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/agnicpay-prog/agnic-check-balanceChecking USDC Balance
Use npx agnic@latest balance to check USDC balance across supported networks.
Authentication
Run npx agnic@latest status --json to verify. If not authenticated:
- Headless (CI/server/agent): Set
AGNIC_TOKENenv var or pass--token <token> - Interactive (has browser): Run
npx agnic@latest auth login
See the authenticate-wallet skill for details.
Command Syntax
npx agnic@latest balance [--network <network>] [--json]
Options
| Option | Description |
|---|---|
--network <name> | Filter by network (default: all networks) |
--json | Output result as JSON |
Supported Networks
| Network | Description |
|---|---|
base | Base mainnet (primary) |
base-sepolia | Base testnet |
solana | Solana mainnet |
solana-devnet | Solana devnet |
Examples
# Check balance on all networks
npx agnic@latest balance --json
# Check balance on Base mainnet only
npx agnic@latest balance --network base --json
Expected Output
Network Balance Address
base 125.50 USDC 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb7
base-sepolia 0.00 USDC 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb7
solana 0.00 USDC N/A
solana-devnet 0.00 USDC N/A
Error Handling
Common errors:
- "Not authenticated" -- Run
npx agnic@latest auth loginor setAGNIC_TOKEN - Network timeout -- Try again or specify a single network with
--network base
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-agnicpay-prog-agnic-check-balance": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
trade-tokens
Swap or trade tokens on Base network. Use when you or the user want to trade, swap, exchange, buy, sell, or convert between tokens like USDC, ETH, and WETH. Covers phrases like "buy ETH", "sell ETH for USDC", "convert USDC to ETH", "get some ETH", "swap tokens", "trade USDC for WETH".
check-balance
Check USDC balance across networks (Base, Solana). Use when the user wants to check balance, see how much USDC is available, view funds, or verify wallet balance. Covers "check my balance", "how much do I have", "show funds", "wallet balance".
ai-gateway
Access 340+ AI models via the Agnic AI Gateway -- chat, image generation, model listing. Use when the user wants to chat with AI, generate images, ask GPT, use Claude, list models, delegate to another LLM, or get a second opinion. Covers "ask GPT", "use Claude", "generate an image", "list AI models", "call a model".
authenticate-wallet
Authenticate Agnic wallet via browser OAuth or headless API token. Use when the user wants to sign in, log in, authenticate, connect wallet, set up CLI, or resolve "Not authenticated" errors. Supports AGNIC_TOKEN env var for CI/server/agent environments.
agnic
Complete AI agent wallet with payments, trading, email, and on-chain identity. Use when the user wants to manage their agent's wallet, make payments, trade tokens, send/receive email, or check their agent identity.