Call a JSON-RPC method
call_rpcCalls a JSON-RPC method on an Ethereum or Base node we run and returns the node's own answer, unchanged. Base serves eth_, net_, web3_, txpool_, debug_ and base_ methods; Ethereum serves eth_, net_, web3_, txpool_, debug_ and trace_ methods. The full list is in /llms.txt, checked against the nodes every hour. Base is archive: state at any block. Ethereum is archive: state at any block. Base "pending" is the next block as it builds, updated about every 200 ms (Flashblocks): eth_getBlockByNumber ["pending", true]. To stream, open the websocket at /rpc/?line= and eth_subscribe. Base: newHeads, logs, syncing, newFlashblocks, pendingLogs, newFlashblockTransactions. Ethereum: newHeads, logs, newPendingTransactions, syncing. Send with eth_sendRawTransaction. The node holds no keys, so signing methods are refused. Paid: $0.000001 per millisecond on a line, or $0.00025 for a call of up to 250 ms without one. With no wallet code, pay with ZEAM :: Pass: a pass (https://mcp.zeamprism.com/pass) or your own wallet (https://mcp.zeamprism.com/how-to-pay). Example: {"chain":"base","method":"eth_blockNumber","params":[]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | Optional. A line credential, for a client that cannot send the x-line header or _meta["zeam-pass/line"]: the call runs on that line's time. | |
| chain | Yes | string — which node to forward to: eth or base | |
| method | Yes | string — a JSON-RPC method; the ones we check are listed in /llms.txt. Not forwarded: signing methods, debug_ methods that control the node, eth_subscribe (use the websocket). | |
| params | No | optional array — JSON-RPC params, default [] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||