Raw JSON-RPC call
rpc_callExecute arbitrary JSON-RPC 2.0 calls on EVM, Solana, and Sui chains. Supply chain slug, method, and optional params array.
Instructions
Make any JSON-RPC 2.0 call against a chain through MoltNode. Works for EVM (eth_*), Solana (getSlot, getAccountInfo), and Sui. It is the general-purpose tool, so prefer it whenever no convenience tool fits. params is the JSON-RPC params array.
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 from list_chains, e.g. 'ethereum', 'base', 'monad', 'solana'. | |
| method | Yes | JSON-RPC method, e.g. 'eth_blockNumber', 'eth_getBalance', 'getSlot'. | |
| params | No | JSON-RPC params array. Defaults to []. |