DeFi Education5 min read
Ethereum Gas Explained: EIP-1559 and Beyond
A clear guide to how Ethereum gas works, what EIP-1559 changed, and practical tips for optimizing transaction costs.
What Is Gas?
Gas is the unit measuring computational effort on Ethereum. Every operation — sending ETH, swapping tokens, deploying contracts — requires gas. You pay gas fees in ETH to compensate validators for processing your transaction.
EIP-1559: The Fee Market Revolution
Before EIP-1559, gas pricing was a blind auction. Now fees have two components:
- Base fee: Algorithmically determined by network congestion, burned (removed from supply)
- Priority fee (tip): Optional tip to validators for faster inclusion
Understanding Gas Costs
- Simple ETH transfer: ~21,000 gas
- ERC-20 token transfer: ~65,000 gas
- DEX swap: ~150,000-300,000 gas
- Complex DeFi interaction: ~500,000+ gas
Tips for Saving on Gas
How Alkizen Minimizes Gas Costs
Alkizen routes through optimal paths considering gas costs. For same-chain swaps, the router picks the most gas-efficient DEX. For cross-chain operations, Relay batches and optimizes bridge transactions.