ethereum-rpclisted
Install: claude install-skill alfredolopez80/multi-agent-ralph-loop
**ultrathink** - Blockchain interactions require precision. One wrong hex, one missing zero, and the call fails silently.
## The Vision
Make RPC calls foolproof. Validate formats, build correct payloads, and handle responses properly.
## Quick Reference
### Invoke this skill when:
- Building `eth_getLogs`, `eth_call`, `eth_getBalance` or any JSON-RPC call
- Converting between decimal and hexadecimal for blocks/values
- Padding addresses for topics arrays
- Debugging RPC errors (code -32000, -32020, etc.)
- Working with Hedera, Ethereum, Polygon, or any EVM chain
---
## Core Concepts
### Hexadecimal Encoding Rules
| Type | Format | Example |
|------|--------|---------|
| Block number | `0x` + hex (no leading zeros) | `0x560B8CF` (90,177,743) |
| Address | `0x` + 40 hex chars | `0xdAC17F958D2ee523a2206206994597C13D831ec7` |
| Address (in topics) | `0x` + 24 zeros + 40 hex | `0x000000000000000000000000dAC17F958D2ee523a2206206994597C13D831ec7` |
| Hash (32 bytes) | `0x` + 64 hex chars | `0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef` |
| Value (wei) | `0x` + hex | `0xde0b6b3a7640000` (1 ETH) |
### Block Tags
| Tag | Description |
|-----|-------------|
| `latest` | Most recent mined block |
| `pending` | Pending state/transactions |
| `earliest` | Genesis block |
| `safe` | Latest safe head block |
| `finalized` | Latest finalized block |
---
## Common RPC Methods
### 1. eth_blockNumber
```json
{
"jsonrpc": "2.0",
"method": "eth_blockNumber",