crypto-balance
Check native token balances on EVM chains using public RPC endpoints.
от owliabot★ 30 звёзд на GitHub
Установить crypto-balance в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Crypto Balance
Query native token balances (ETH, MATIC, etc.) on EVM-compatible chains.
Prerequisites
For reliable queries, set ALCHEMY_API_KEY in your environment. Without it, use public RPCs (may be rate-limited).
Quick Balance Check
Use exec with curl to query via JSON-RPC:
# Check ETH balance on Ethereum mainnet (public RPC)
curl -s -X POST https://eth.llamarpc.com \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getBalance","params":["0xYOUR_ADDRESS","latest"],"id":1}'
With Alchemy (recommended)
# Ethereum
curl -s -X POST "https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getBalance","params":["0xYOUR_ADDRESS","latest"],"id":1}'
# Polygon
curl -s -X POST "https://polygon-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getBalance","params":["0xYOUR_ADDRESS","latest"],"id":1}'
# Arbitrum
curl -s -X POST "https://arb-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getBalance","params":["0xYOUR_ADDRESS","latest"],"id":1}'
# Base
curl -s -X POST "https://base-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getBalance","params":["0xYOUR_ADDRESS","latest"],"id":1}'
Public RPC Endpoints (No API Key)
| Chain | RPC URL |
|---|---|
| Ethereum | https://eth.llamarpc.com |
| Polygon | https://polygon-rpc.com |
| Arbitrum | https://arb1.arbitrum.io/rpc |
| Base | https://mainnet.base.org |
Response Format
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1bc16d674ec80000" // Balance in wei (hex)
}
Converting Wei to ETH
The result is in wei (hex). To convert:
# Using Python
python3 -c "print(int('0x1bc16d674ec80000', 16) / 1e18)"
# Output: 2.0 (ETH)
Native Token Symbols
| Chain | Symbol |
|---|---|
| Ethereum | ETH |
| Polygon | MATIC |
| Arbitrum | ETH |
| Base | ETH |
Address Validation
Valid EVM address format: 0x followed by 40 hex characters
- ✅
0x742d35Cc6634C0532925a3b844Bc9e7595f85a3d - ❌
742d35Cc6634C0532925a3b844Bc9e7595f85a3d(missing 0x) - ❌
0x742d35Cc(too short)
Example Workflow
- User asks: "What's the ETH balance of 0x742d35Cc6634C0532925a3b844Bc9e7595f85a3d?"
- Validate address format
- Run curl command against Ethereum RPC
- Convert hex result to decimal, divide by 1e18
- Reply: "Address 0x742d...5a3d has 2.5 ETH on Ethereum mainnet"
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл crypto-balance?
Check native token balances on EVM chains using public RPC endpoints.
Как установить скилл crypto-balance?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл crypto-balance запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…