balance
SKILL.md
Check Balance
Fetch wallet holdings on Starknet: STRK, ETH, and all ERC-20 tokens with non-zero balances.
Prerequisites
- Active session required. If not authenticated, run
authenticate-walletskill first.
Rules
- If the user asks to check a specific token, use
--token <symbol>. - If no token is specified, run
balancewithout flags to show all balances. - Use
--jsonwhen the output will be consumed by another skill or pipeline. - Run this BEFORE
send,trade,multi-swap, or any transactional skill to verify sufficient funds.
Commands
# All token balances
npx starkfi@latest balance [--json]
# Specific token balance
npx starkfi@latest balance --token <symbol> [--json]
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
--token |
string | Token symbol (e.g. STRK, ETH, USDC) |
No |
--json |
flag | Output as JSON | No |
Examples
User: "Check my balance"
npx starkfi@latest balance
User: "How much STRK do I have?"
npx starkfi@latest balance --token STRK
User: "Get my balances as JSON"
npx starkfi@latest balance --json
Error Handling
| Error | Action |
|---|---|
Not authenticated |
Run authenticate-wallet skill first. |
Network error |
Retry once. If persistent, use config skill to set custom RPC. |
Related Skills
- Run this BEFORE
sendortradeto verify sufficient funds. - Run this BEFORE
stakingto confirm available STRK/BTC tokens. - Run this BEFORE
lendingsupply operations to confirm available assets. - Use
portfoliofor a complete view including staking and lending positions with USD values.
Weekly Installs
6
Repository
ahmetenesdur/starkfiGitHub Stars
2
First Seen
3 days ago
Security Audits
Installed on
opencode6
gemini-cli6
claude-code6
github-copilot6
codex6
kimi-cli6