evm_multicall
Batch multiple smart contract read/write calls into one atomic transaction via Multicall3 to reduce gas costs, allow selective failures, and return decoded results.
Instructions
Execute multiple contract calls in a single transaction
Batch multiple read/write operations for gas efficiency. Uses Multicall3 for atomic execution.
FEATURES:
Atomic execution of multiple calls
Gas savings vs individual transactions
Allow selective call failures
Automatic result decoding
Works with any contract
PARAMETERS:
chain: Target blockchain
calls: Array of calls with target, callData, allowFailure
requireSuccess: Require all calls to succeed (default true)
gasLimit: Gas limit per call (optional)
Returns results array with decoded data and gas savings.
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>",
"calls": "<calls>"
},
"name": "evm_multicall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calls | Yes | ||
| chain | Yes | ||
| gasLimit | No | ||
| requireSuccess | No |