routemesh-rpc
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.
Why use this skill?
Learn how to use the RouteMesh RPC skill for OpenClaw to fetch EVM blockchain data, call smart contracts, and debug RPC requests across multiple networks with ease.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/kermankohli/routemesh-crypto-rpcWhat This Skill Does
The routemesh-rpc skill acts as an interface between the OpenClaw agent and the RouteMesh infrastructure. It simplifies the interaction with various EVM-compatible blockchain networks by providing a standard, consistent way to dispatch JSON-RPC 2.0 requests. By utilizing the lb.routeme.sh unified endpoint, the skill abstracts away the complexities of manual HTTP handling, JSON payload formatting, and endpoint management. It enables the agent to query on-chain data, inspect block states, and execute read-only contract operations across any supported EVM chain using a dedicated Python helper script.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/kermankohli/routemesh-crypto-rpc
Ensure that you have your RouteMesh API key available. It is highly recommended to export this as an environment variable to prevent hardcoding sensitive credentials in scripts or prompts:
export ROUTEMESH_API_KEY="rm_...your_key..."
Use Cases
This skill is designed for scenarios requiring real-time interaction with blockchain data. Use it when you need to:
- Verify the current block height or synchronization status of specific chains.
- Perform
eth_calloperations to inspect contract storage or simulated return values without gas expenditure. - Debug or troubleshoot specific RPC endpoints to ensure routing is functioning correctly.
- Retrieve account balances, transaction receipt metadata, or event logs from smart contracts.
- Demonstrate routing capabilities across multi-chain environments for development and testing purposes.
Example Prompts
- "Check the current block height for Base mainnet using the routemesh-rpc skill."
- "Use routemesh-rpc to call the totalSupply method of the USDC token on Polygon. Use the standard eth_call method."
- "Is the Arbitrum network responsive? Please run a check using the routemesh-rpc skill to fetch the latest block number."
Tips & Limitations
- Security: Never expose your
ROUTEMESH_API_KEYin plain text logs, shared chat history, or version control systems. Always rely on environment variable injections. - Data Handling: The skill expects
paramsas a valid JSON string. If your call fails, double-check your JSON syntax, especially regarding quotes and nested objects. - Rate Limiting: Be aware that RouteMesh enforces rate limits based on your API key tier. Excessive polling may lead to temporary throttling.
- Standardization: Always prefer the
routemesh_rpc.pyhelper script over directcurlcommands. This ensures that the agent handles JSON serialization and potential error output in a consistent format compatible with OpenClaw's internal processing pipelines.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-kermankohli-routemesh-crypto-rpc": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, code-execution, external-api