call-evm-json-rpc-endpoints
Call RouteMesh's unified JSON-RPC endpoint (lb.routeme.sh) for any EVM chainId using a helper script. Use when you need to fetch onchain data (eth_* methods)…
от rondoflow★ 37 звёзд на GitHub
Установить call-evm-json-rpc-endpoints в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
RouteMesh RPC (JSON-RPC)
This skill standardizes how to call RouteMesh’s unified RPC endpoint:
- Endpoint:
POST https://lb.routeme.sh/rpc/{chainId}/{apiKey} - Body: JSON-RPC 2.0 (
jsonrpc,id,method, optionalparams)
Quick start
Set your API key (recommended):
export ROUTEMESH_API_KEY="rm_...your_key..."
Make a request (example: Ethereum mainnet, eth_blockNumber):
python3 "{baseDir}/scripts/routemesh_rpc.py" \
--chain-id 1 \
--method eth_blockNumber \
--params '[]'
Usage pattern
Prefer calling via the helper script so output stays consistent and you don’t accidentally break JSON encoding.
Script arguments
--chain-id: EVM chain id (string or int, e.g.1,137,42161)--api-key: optional; falls back toROUTEMESH_API_KEY--method: JSON-RPC method (e.g.eth_getBlockByNumber,eth_call)--params: JSON string for params (default[])--url: optional base URL (defaulthttps://lb.routeme.sh)
Common examples
Get the latest block (Polygon):
python3 "{baseDir}/scripts/routemesh_rpc.py" \
--chain-id 137 \
--method eth_getBlockByNumber \
--params '["latest", false]'
Get chain id (any EVM chain):
python3 "{baseDir}/scripts/routemesh_rpc.py" \
--chain-id 8453 \
--method eth_chainId \
--params '[]'
eth_call (Base). data must be hex-encoded calldata:
python3 "{baseDir}/scripts/routemesh_rpc.py" \
--chain-id 8453 \
--method eth_call \
--params '[{"to":"0x0000000000000000000000000000000000000000","data":"0x"}, "latest"]'
Notes / error handling
- RouteMesh returns standard JSON-RPC responses (
resultorerror) and may also use HTTP error codes. - If you get a JSON-RPC
error.code, refer to RouteMesh RPC error code docs in this repo:docs/reference/Reference/get_new-endpoint.md. - Keep
ROUTEMESH_API_KEYout of logs, issues, and commits.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- manifest.json
FAQ
Что делает скилл call-evm-json-rpc-endpoints?
Call RouteMesh's unified JSON-RPC endpoint (lb.routeme.sh) for any EVM chainId using a helper script. Use when you need to fetch onchain data (eth_* methods), debug RPC responses, or demo RouteMesh routing for a chain/method.
Как установить скилл call-evm-json-rpc-endpoints?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл call-evm-json-rpc-endpoints запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…