Etherscan Information Center: Understanding Ethereum Accounts

·

What is an Ethereum Account?

An Ethereum account is a digital entity with an Ether (ETH) balance capable of sending transactions on the blockchain. These accounts fall into two categories:

Transactions alter the state of the Ethereum Virtual Machine (EVM) and must be broadcast to the network. Valid transactions require a gas fee and must be mined to be recognized.


Types of Ethereum Accounts

Ethereum features two primary account types:

  1. Externally Owned Accounts (EOA)

    • Controlled by private keys.
    • No associated code or storage.
  2. Contract Accounts (Smart Contracts)

    • Governed by EVM-executed code.
    • Include storage and functionality but lack private keys.

Both types are identified by a 42-character Ethereum address.


Key Characteristics of Ethereum Accounts

Accounts have four core attributes:

  1. Nonce: Tracks transaction count (EOA) or contract creation count (smart contracts).
  2. Balance: ETH holdings.
  3. Storage Root: Data storage (smart contracts only).
  4. Code Hash: Immutable smart contract code (smart contracts only).

Differences Between Account Types

| Feature | Externally Owned Account (EOA) | Contract Account (Smart Contract) |
|------------------------------|--------------------------------------|-------------------------------------|
| Creation Cost | Free | Requires gas fees (uses storage) |
| Transaction Initiation | Can start transactions | Responds to received transactions |
| Functionality | ETH transfers only | Executes code (e.g., token swaps) |

👉 Learn more about Ethereum account security


Deep Dive: Externally Owned Accounts

Security Tip: Never share private keys—they grant full access to funds.


Deep Dive: Contract Accounts

Example: View a contract on Etherscan.

👉 Explore smart contract development


FAQs

1. Can an EOA execute smart contracts?

Yes, EOAs can trigger contract functions by sending transactions with input data.

2. How are contract addresses generated?

They derive from the creator’s address and nonce during deployment.

3. What happens if a private key is lost?

Funds in the associated EOA become irrecoverable—backup keys securely.

4. Are contract interactions reversible?

No. Ethereum transactions are immutable once confirmed.

5. Why do contracts need gas?

Gas compensates miners for EVM computation and storage costs.


Conclusion

Understanding Ethereum accounts—EOAs and smart contracts—is foundational for navigating blockchain interactions. Whether managing funds or deploying code, prioritize security and leverage tools like Etherscan for transparency.

For advanced insights, 👉 visit our Ethereum resource hub.