Key takeaways
- Ethereum is a blockchain that stores not just balances but programs, called smart contracts, and the data they keep.
- There are two kinds of accounts: ones controlled by private keys (your wallet) and contract accounts controlled by their code.
- Every operation costs gas. Your fee is gas used times the base fee plus an optional tip. The base fee part is burned.
- Validators who stake 32 ETH propose and vote on blocks every 12 seconds, and finality arrives after about two epochs.
How Ethereum works can be summed up as a single shared computer. Thousands of nodes around the world run the same program, the Ethereum Virtual Machine, on the same inputs and agree on the result. Anyone can upload code to it, and anyone can call that code by sending a transaction. Bitcoin is mostly a ledger of who owns which coins. Ethereum is a ledger plus a computer.
This guide covers the parts you need to understand everything built on top: accounts, transactions, gas, the EVM and proof of stake. If you are new to blockchains, read How Blockchains Work first.
Accounts: wallets and contracts
Ethereum keeps a global state, a big table of accounts and their contents. There are two types:
| Externally owned account (EOA) | Contract account | |
|---|---|---|
| Controlled by | A private key | Its own code |
| Can start transactions | Yes | No, only reacts when called |
| Has code | No | Yes, plus its own storage |
| Examples | Your MetaMask or hardware wallet address | A stablecoin, a DEX pool, a lending market |
Every account has an ETH balance and a nonce, a counter that goes up with each transaction so the same transaction cannot be replayed. Contract accounts also hold code and storage. A token like USDC is a contract whose storage records how much each address owns.
A newer feature lets regular wallets temporarily act like smart contracts, which is how features such as paying fees in stablecoins or batching several actions into one click are becoming possible. This is often called account abstraction.
Transactions
Everything on Ethereum happens through transactions sent from an EOA. A transaction includes the recipient, the amount of ETH, optional data (for example, “call the swap function with these inputs”), a gas limit, fee settings and the sender’s signature. Sending ETH to a friend and depositing into a lending protocol are both just transactions; the second simply includes data telling a contract what to do.
Gas: why Ethereum fees go up and down
Running code on thousands of machines is not free, so every step of computation and every byte of storage has a cost measured in gas. A simple ETH transfer uses 21,000 gas. A complex DeFi trade might use several hundred thousand.
Since an upgrade in 2021 known as EIP-1559, fees work like this:
- Base fee: a price per unit of gas set by the protocol. It rises when blocks are more than half full and falls when they are less than half full, so it tracks demand automatically.
- Priority fee: an optional tip per unit of gas that goes to the validator, to get included faster when the network is busy.
- Gas limit: the maximum gas you allow the transaction to use. If it runs out, the transaction fails, but the gas used so far is still paid.
The base fee is burned, destroyed rather than paid to anyone. When the network is busy, more ETH is burned, which can offset the new ETH issued to validators. That is the origin of the idea of ETH as “ultrasound money”, though in quieter periods issuance outweighs the burn and supply grows.
Most everyday activity has moved to layer 2 networks, which bundle many transactions and post them to Ethereum cheaply. Since the Dencun upgrade in March 2024, layer 2s post their data in a separate, cheaper format called blobs, which is why fees on networks like Base and Arbitrum are often a fraction of a cent.
The Ethereum Virtual Machine
The EVM is the engine that runs smart contracts. Developers usually write contracts in a language called Solidity, compile them into EVM bytecode and deploy them in a transaction. From then on, the code sits at its own address and runs exactly as written whenever someone calls it.
- Deterministic: the same input always produces the same output on every node, which is how they agree.
- Isolated: contracts cannot reach the internet. Outside data, such as prices, has to be brought on-chain by oracles.
- Metered: every instruction costs gas, so infinite loops simply run out of gas and stop.
- Usually immutable: deployed code cannot be edited, unless the developers built in an upgrade mechanism, which brings its own trust questions.
Because the EVM became a standard, many other chains, from layer 2s to rivals such as BNB Chain and Avalanche, run EVM-compatible environments. The same wallets and contracts work across them with little change.
Proof of stake and finality
Ethereum switched from mining to proof of stake in September 2022. Today, validators lock up 32 ETH each to take part. Time is divided into 12-second slots; in each slot one validator is chosen to propose a block and a committee of others votes on it. Thirty-two slots make an epoch of 6.4 minutes.
A block becomes finalized after two epochs of votes from validators holding at least two thirds of all staked ETH, about 13 to 15 minutes in practice. Reverting a finalized block would require destroying a large share of all staked ETH through penalties, called slashing. Researchers are working on cutting finality time to a few minutes, as we reported in our story on the EIP-8453 proposal.
If you want to earn from this system yourself, our guide to how Ethereum staking works covers the options.
Ether’s role
- Paying gas for every transaction.
- Collateral for validators securing the network.
- A widely used asset in DeFi, for lending and borrowing.
- A store of value for those who believe in the network’s long-term use.
How it all fits together
- You sign a transaction in your wallet, setting a gas limit and fees.
- It spreads to nodes and waits in the mempool.
- A validator includes it in a block during its 12-second slot.
- Every node runs the transaction through the EVM and updates the state.
- Validators vote, and after about two epochs the block is finalized.
- The base fee is burned and the tip goes to the validator.
You might also like
Sources: ethereum.org: Accounts, ethereum.org: Gas and fees, ethereum.org: Ethereum Virtual Machine, ethereum.org: Proof of stake, EIP-1559





