LEARN · LESSON

Gas fees & EIP-1559 explained on real receipts.

How an Ethereum gas fee is built under EIP-1559: the burned base fee, the priority fee paid to the block proposer, the effective gas price, the max fee cap — and why failed transactions still pay.

🔥 Base fee — burned, not tipped

The base fee is the protocol-set per-gas price for a block. It adjusts block to block with demand, every included transaction pays it, and it is burned — it is never revenue for the validator who proposed the block. It is the part of the fee no sender can negotiate away.

↗ Priority fee — the proposer's tip

The priority fee is the per-gas tip paid to the block proposer on top of the base fee. The tip your wallet configures is a maximum: the effective tip can be lower when the overall max fee cap leaves less room above the base fee.

EIP-1559 — where the per-gas price goes max fee cap (maxFeePerGas) — unused room is refunded, not spent base fee — burned 🔥 priority fee to the block proposer effective gas price = base fee + effective tip (≤ cap) network fee = gas used × effective gas price — an included failed transaction still pays it
Illustrative schematic — not to scale.

◈ Effective gas price & the max fee cap

EIP-1559 lets a sender set two caps: maxFeePerGas and maxPriorityFeePerGas. The effective gas price is what was actually paid per gas — base fee plus effective tip, never more than the cap. Unused cap room is refunded, not spent. The network fee is then gas used × effective gas price, paid in ETH and separate from any transferred assets.

× Failed transactions still pay

An included transaction that reverts delivers no tokens, but the network still performed the attempted computation — so the fee is still charged, and the transaction status shows as failed. This is why a failed swap can still reduce the sender's ETH balance. Gas used up to the point of failure is what gets billed.

◇ Every Smart Receipt shows this breakdown for a real transaction — the base fee, the priority fee, and the effective gas price come from the receipt itself, not from wallet estimates. Start from the glossary entries above or open a real receipt below.

SEE IT ON-CHAIN

Verify it on a real transaction.

← Back to the full glossary — every term cited in this lesson has a complete entry with diagrams and receipt links.