Reducing Gas On Tycho Router By 20%
Swaps through Tycho just got cheaper – and safer.
With this upgrade, your swaps cost up to 20% less as Tycho smartly cuts transfers.
Encoding is now more secure – Tycho encodes the swaps, but you encode the crucial parameters yourself (amount in, token in, amount out).
Improving gas efficiency
Eliminate unnecessary token transfers.
Before this update, tokens always returned to the router between each hop. Now, tokens flow directly and skip transfer to the router if they can. Fewer transfers, higher gas savings.

Three optimised encoding strategies: single, sequential, and split.
The initial version treated every swap route like a split swap. Simple swaps paid for complexity they didn't use.
Simple WETH→USDC swaps still required split percentages (100%), route arrays (a single-element array like [pool_address] when you're only using one pool), and referenced token index arrays (WETH=0, USDC=1). Overhead data that consumed extra gas. No more.

Now, single swaps encode just the pool and tokens. Sequential swaps chain multiple pools together. Splits handle complex multi-path routes.
The encoder reads your trade and picks the optimal strategy automatically.
Up to 20% gas savings
With direct pool-to-pool transfers and better encoding, you save up to 20% gas costs on each swap.

Every unit of gas counts when you compete head-to-head.
Your keys, your control
The previous version built your entire transaction, and used your private keys for any permit2 approvals. It worked, but placed unnecessary trust into the Tycho Execution library.
This update flips the model:
- We encode the swap paths: You get the calldata for your route.
- You set the swap guardrails: MinAmountOut, slippage, receiver.
- You sign with your keys: You sign the tx yourself. Same for permit2.
Trustless trading – including not needing to trust Tycho – is essential for secure and sovereign trading.
Upgrade your onchain routing
If you're already using Tycho, migration is easy: Update Tycho Execution to 0.96.0 (pull the latest crate) or above, and follow the new encoding as documented here.
New to Tycho? Perfect timing: Get started with using Tycho and make your first swap in < 5 min.
This upgraded router is live on all supported chains.
Join our builders group at tycho.build for if you need any help whatsoever.