eth_call
Pack: alchemy-eth · Endpoint: https://gateway.pipeworx.io/alchemy-eth/mcp
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, or use one-click install buttons:
{
"mcpServers": {
"alchemy-eth": {
"url": "https://gateway.pipeworx.io/alchemy-eth/mcp"
}
}
}
See Getting Started for client-specific install steps.