Skip to content
Agentmart
Submit a tool

crypto-balance

Check native token balances on EVM chains using public RPC endpoints.

Skill by owliabot

IndexedMIT★ 30
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/owliabot-crypto-balance

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Check native token balances on EVM chains using public RPC endpoints.

Use cases: finance

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/crypto-balance

What's inside

Skill name
crypto-balance
Description
Check native token balances on EVM chains using public RPC endpoints.
License
MIT
Instructions
97 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 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:

```bash
# 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)

```bash
# 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

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x1bc16d674ec80000"  // Balance in wei (hex)
}
```

## Converting Wei to ETH

The result is in wei (hex). To convert:

```bash
# 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

1. User asks: "What's the ETH balance of 0x742d35Cc6634C0532925a3b844Bc9e7595f85a3d?"
2. Validate address format
3. Run curl command against Ethereum RPC
4. Convert hex result to decimal, divide by 1e18
5. Reply: "Address 0x742d...5a3d has 2.5 ETH on Ethereum mainnet"

From owliabot/owliabot, MIT.

Signals

Stars
30
Forks
4
Open issues
1
Last commit (this folder)
Feb 5, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from owliabot

Cite this page

crypto-balance skill. Agent Mart. https://agentmart.dev/skills/owliabot-crypto-balance (last updated 2026-10-24)