evm multicall
evm_multicallRead up to 50 contract view functions in one call, decoded: give each call a contract address, a plain function signature ("balanceOf(address) returns (uint256)") and arguments; we encode them, run them at the same block through Multicall3 and return each result decoded to JSON, or the revert for that call alone. No ABI files, no RPC key. Base, Ethereum, Arbitrum, Optimism, Polygon. $0.004 for the whole batch. Costs $0.004 USDC per call (x402).
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": {
"calls": "<calls>"
},
"name": "evm_multicall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | block number, default latest | |
| calls | Yes | up to 50 of {to, fn, args} | |
| chain | No | base (default), ethereum, arbitrum, optimism, polygon |