Call blockchain RPC
call_rpcRun one read-only JSON-RPC method against a chain node through Sentio's RPC service, for on-chain data the other tools do not cover: a contract's storage or code, an eth_call to a view function, a transaction or receipt, a block, event logs. EVM chains only: chain is one of 1 Ethereum, 10 Optimism, 56 BNB Chain, 143 Monad, 8453 Base, 42161 Arbitrum, 43114 Avalanche. method is the node's own method name (eth_*, net_version, web3_clientVersion) and params its positional parameter array, exactly as the node expects them (hex quantities, 0x-prefixed addresses). Only read methods are allowed — sending transactions, signing and debug/trace methods are rejected. eth_call and eth_estimateGas are capped at 10M gas. eth_getLogs needs blockHash, or fromBlock and toBlock as hex block numbers at most 1000 blocks apart (call eth_blockNumber first for the latest block). Results over 100k characters are refused rather than truncated — narrow the request. Values come back raw (hex, unscaled by token decimals); prefer get_wallet_balances and get_token_price for balances and prices.
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": "call_rpc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain id: 1 Ethereum, 10 Optimism, 56 BNB Chain, 143 Monad, 8453 Base, 42161 Arbitrum, 43114 Avalanche | |
| method | Yes | JSON-RPC method name, e.g. eth_call or eth_getLogs | |
| params | No | Positional JSON-RPC params |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | ||
| method | Yes | ||
| result | Yes |