Why bundling saves gas
- One transaction, shared overhead. Instead of paying per‑transaction base costs multiple times, you pay them once.
- Warm storage & reused context. Within a single transaction, repeated data access become warm accesses, which are cheaper than touching the same data in separate transactions.
Savings vary by chain, market conditions, and strategy shape. Reach out to us - we’d be happy to share more details or run a custom estimate for your use case.

Experiments
We measured representative DeFi sequences on Base mainnet with and without Compass Bundler. We ran tests on Base mainnet using representative DeFi transaction sequences, comparing gas usage with and without Compass Bundler.Experiment A: 10-Transaction Bundle
Transaction sequence for Aave Leverage: approve ×4 → aave_supply → aave_borrow → aave_repay → aave_withdraw → uniswap_sell_exactly → uniswap_buy_exactly Results: Bundling the 10 transactions into a single atomic transaction saved ~47% in gas (1.89× improvement):Execution Method | Average Gas Used |
---|---|
Sequential | 1,276,383 |
Bundled | 674,067 |
- View the script used and complete results here.
- View bundled transaction on Basescan — it executed the full sequence using just 672,284 gas.
Experiment B: Larger Bundles
We extended testing to bundles of up to 100 transactions. Gas savings increase with bundle size (2x savings at 11 transactions, 3x savings at 47 transactions), though returns diminish:
Bundle Size | Gas Savings |
---|---|
10 | 47.89% |
30 | 64.05% |
50 | 68.88% |
70 | 68.34% |
100 | 69.45% |