eth_call
Pack: alchemy-eth · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/eth_call for the schema, then POST the same URL with its arguments for the data.
Execute any Ethereum JSON-RPC method (e.g. eth_blockNumber, eth_getBalance, eth_getTransactionByHash) on the specified chain (default: eth-mainnet) via Alchemy; pass method name and params array.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
method | string | yes | |
params | unknown | no | |
chain | string | no |
Example call
Arguments
{
"method": "eth_blockNumber"
}
curl
curl -X POST https://gateway.pipeworx.io/alchemy-eth/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"eth_call","arguments":{"method":"eth_blockNumber"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('eth_call', {
"method": "eth_blockNumber"
});
More examples
{
"method": "eth_getBalance",
"params": [
"0x1234567890123456789012345678901234567890",
"latest"
]
}
Response shape
Full JSON Schema
{
"type": "object",
"description": "Result from generic JSON-RPC call"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the alchemy-eth pack
{
"mcpServers": {
"alchemy-eth": {
"url": "https://gateway.pipeworx.io/alchemy-eth/mcp"
}
}
}
See Getting Started for client-specific install steps.