ethereum-jsonrpc-skill
БесплатноЗапускает вложенные скриптыНе проверенOperate Ethereum execution JSON-RPC through UXC with the official execution OpenRPC schema, public EVM read methods, and eth_subscribe pubsub guardrails.
от jiayaoqijia★ 81 звезда на GitHubОб этом скилле
Ethereum JSON-RPC Skill
Use this skill to run Ethereum execution JSON-RPC operations through uxc + JSON-RPC.
Reuse the uxc skill for shared execution, auth, and error-handling guidance.
Prerequisites
uxcis installed and available inPATH.- Network access to a compatible Ethereum execution JSON-RPC provider.
- Access to the official execution OpenRPC schema URL:
https://raw.githubusercontent.com/ethereum/execution-apis/assembled-spec/refs-openrpc.json
Scope
This skill covers a safe read-first Ethereum execution surface:
- chain identity and public state reads
- block, balance, logs, and call-based state reads
eth_subscribepubsub subscriptions for new heads, logs, and pending transactions
This skill does not cover:
eth_sendRawTransactionpersonal_*,admin_*,debug_*,engine_*,txpool_*- wallet signing flows
- private/authenticated RPC providers with custom auth models
Endpoint And Schema
This skill defaults to a public read provider:
- HTTPS RPC:
https://ethereum-rpc.publicnode.com
The operation surface comes from the official Ethereum execution OpenRPC schema:
https://raw.githubusercontent.com/ethereum/execution-apis/assembled-spec/refs-openrpc.json
uxc JSON-RPC discovery normally depends on OpenRPC or rpc.discover. Ethereum RPC providers often do not expose discovery directly, so this skill uses a fixed --schema-url link and request flow.
The official execution OpenRPC document is strong enough for normal request/response methods, but it does not currently expose pubsub methods such as eth_subscribe. Use the schema-backed link for reads, and use uxc subscribe start directly for subscriptions.
For subscriptions, use a WebSocket Ethereum RPC provider that you have verified actually accepts eth_subscribe. Do not assume a public HTTPS host automatically guarantees the same wss:// host is stable for pubsub.
Authentication
The default public read provider used by this skill does not require authentication.
If a user later points the same workflow at a private Ethereum RPC provider, verify its auth model first before reusing this skill unchanged.
Core Workflow
Use the fixed link command by default:
command -v ethereum-jsonrpc-cli- If missing, create it:
uxc link ethereum-jsonrpc-cli https://ethereum-rpc.publicnode.com --schema-url https://raw.githubusercontent.com/ethereum/execution-apis/assembled-spec/refs-openrpc.json ethereum-jsonrpc-cli -h
Inspect operation schema first:
ethereum-jsonrpc-cli eth_blockNumber -hethereum-jsonrpc-cli eth_getBlockByNumber -hethereum-jsonrpc-cli eth_getBalance -h
Prefer chain and balance/block reads before deeper state queries:
ethereum-jsonrpc-cli eth_chainIdethereum-jsonrpc-cli eth_blockNumberethereum-jsonrpc-cli eth_getBalance Address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 Block=latest
Execute with key/value or positional JSON:
- key/value:
ethereum-jsonrpc-cli eth_getBalance Address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 Block=latest - positional JSON:
ethereum-jsonrpc-cli eth_getBlockByNumber '["latest", false]' - nested positional JSON:
ethereum-jsonrpc-cli eth_call '[{"to":"0xA0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","data":"0x313ce567"},"latest"]'
- key/value:
Use
uxc subscribe startdirectly for pubsub streams:uxc subscribe start wss://<verified-ethereum-rpc-host> eth_subscribe '{"params":["newHeads"]}' --sink file:$HOME/.uxc/subscriptions/eth-new-heads.ndjsonuxc subscribe start wss://<verified-ethereum-rpc-host> eth_subscribe '{"params":["logs",{"address":"0xA0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}]}' --sink file:$HOME/.uxc/subscriptions/eth-logs.ndjsonuxc subscribe status <job_id>uxc subscribe stop <job_id>
Recommended Read Operations
net_versioneth_chainIdeth_blockNumbereth_getBlockByNumbereth_getBalanceeth_getLogseth_call
Recommended Subscription Operations
eth_subscribe
Subscription params[0] modes that are usually most useful:
newHeadslogsnewPendingTransactions
Guardrails
- Keep automation on the JSON output envelope; do not use
--text. - Parse stable fields first:
ok,kind,protocol,data,error. - Stay on read-only methods and
eth_subscribeby default. - The official execution OpenRPC schema drives read help and request execution, but it does not cover
eth_subscribe; treat subscriptions as runtime-only flows, not schema-discovered operations. - Do not call write/admin/debug/engine methods through this skill without explicit follow-up design and review.
- Use
uxc subscribe startfor pubsub methods; the fixedethereum-jsonrpc-clilink is for normal request/response methods. - Subscription jobs should always write to a sink file so events can be inspected and replayed safely.
- Before documenting or automating a public Ethereum pu
Установить ethereum-jsonrpc-skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ethereum-jsonrpc-skill?
Operate Ethereum execution JSON-RPC through UXC with the official execution OpenRPC schema, public EVM read methods, and eth_subscribe pubsub guardrails.
Как установить скилл ethereum-jsonrpc-skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ethereum-jsonrpc-skill запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set 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…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic