Externally Owned Account (EOA)
DeFi
Full explanation
What Is an Externally Owned Account (EOA)?
An Externally Owned Account (EOA) is fundamentally a type of account on the Ethereum network, controlled by a person using a private key. In other words, it is the account you use to send transactions or manage Ether (ETH). Unlike smart contract accounts—which are controlled solely by code—EOAs are directly managed by people.
Account Types on Ethereum
There are two primary account types on Ethereum:
- Externally Owned Account (EOA): Controlled by a user who holds the private key.
- Contract Account (CA): Managed by code or smart contracts, and operable without a private key.
Both EOAs and contract accounts can hold and transfer ETH. However, only EOAs can initiate transactions. Contract accounts can execute actions only when triggered by an EOA or another smart contract.
How Externally Owned Accounts Work
Each EOA is associated with two cryptographic keys: a private key and a public key. The private key grants control over the account and is used to sign transactions—proving authorization. The public key is used to generate the Ethereum address, which can be shared with others to receive ETH.
Below is a brief overview of what EOAs do:
- Transactions: An EOA can send tokens to other accounts, interact with smart contracts, or invoke specific functions on the blockchain.
- Gas Fees: Every transaction requires gas, paid in ETH. This gas compensates the miners or validators who process the transaction.
- Security: The security of an EOA rests entirely on the confidentiality of the private key. If someone gains access to the private key, they may take full control of the account.
EOA vs. Contract Account
Although both EOAs and contract accounts can hold tokens and data, several key differences exist:
- EOA: Controlled by a private key and operated by a person. EOAs can send transactions but cannot execute code automatically.
- Contract Account (CA): Managed by code (i.e., a smart contract) and has no private key. A contract account cannot send transactions on its own—it must be triggered by an EOA or another contract. Once activated, however, it can execute predefined instructions or rules.
For example, suppose you want to swap ETH for another token on a decentralized exchange (DEX). Your EOA interacts with the DEX (a contract account) to complete the swap. Unless you—via your EOA—initiate the action, the DEX cannot perform any operation.
Why Externally Owned Accounts Matter
EOAs are foundational to Ethereum because they are the means by which users interact with the network. Every operation on Ethereum originates from an EOA. Without EOAs, smart contracts would remain idle and unable to run autonomously. Thus, EOAs are how we drive activity on the network—whether sending ETH, interacting with DApps, or triggering smart contracts.
EOA Security
The most critical aspect of holding an EOA is safeguarding the private key. If the private key is lost, access to the account and funds is permanently lost. If someone steals the private key, they gain full control over the account and can withdraw everything.
Conclusion
An Externally Owned Account (EOA) is a user-controlled account on Ethereum. You can use it to send ETH, interact with smart contracts, and perform many other operations on the network. EOAs differ from contract accounts, which are controlled by code and require triggering by an EOA to operate. Yet both are essential to Ethereum’s functionality.
Source: Binance Academy
Last updated:
