rpc_call
Make a JSON-RPC call on any SwiftNodes chain with the caller's API key (sent to this MCP server as 'Authorization: Bearer '). Counts against that key's plan like any other request. Read-only: methods that send or sign transactions are refused.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chain": "<chain>",
"method": "<method>"
},
"name": "rpc_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain slug, e.g. "eth", "base", "robinhood". See list_chains. | |
| method | Yes | e.g. "eth_blockNumber". | |
| params | No | Method params, default []. | |
| archive | No | Route to archive upstreams (paid plans). |