Batch multiple contract calls in a single transaction for gas efficiency and atomicity
0xcA11bde05977b3631167028862bE2a173976CA11
Deployment Status: Default preinstall
Repository: github.com/mds1/multicall
aggregate
tryAggregate
aggregate3
aggregate3Value
aggregate3Value
:
Token Balance Queries
DEX Price Aggregation
Governance Voting
DeFi Position Management
NFT Batch Operations
allowFailure
wisely based on criticalityFeature | Multicall3 | Multicall2 | Manual Batching |
---|---|---|---|
Gas Efficiency | Excellent | Good | Poor |
Error Handling | Flexible | Basic | N/A |
Value Support | Yes | No | Yes |
Deployment | Standard address | Varies | N/A |
Block Consistency | Yes | Yes | No |
Issue | Solution |
---|---|
”Multicall3: call failed” | Check individual call success flags |
Gas estimation failure | Increase gas limit or reduce batch size |
Unexpected revert | One of the calls with allowFailure: false failed |
Value mismatch | Ensure total value sent matches sum of individual values |