Ethereum API
Introduction
Ethereum is the pioneering smart contract platform that enables developers to build decentralized applications (dapps) on a permissionless blockchain. It supports smart contracts, decentralized finance (DeFi), and a broad array of token standards, including ERC-20 and ERC-721. Ethereum’s consensus mechanism transitioned from Proof of Work (PoW) to Proof of Stake (PoS) with the Ethereum 2.0 upgrade, making it more energy-efficient. As the largest smart contract platform by market capitalization and developer activity, Ethereum remains a leader in the blockchain space.
Supported Networks
The Web3 Data API is available for the following networks on Ethereum:
- Ethereum Mainnet
- Ethereum Sepolia Testnet
- Ethereum Holesky Testnet
Network Details
Network | Chain ID | EVM Chain |
---|---|---|
Ethereum Mainnet | 0x1 (1) | EvmChain.ETHEREUM |
Ethereum Sepolia | 0xaa36a7 (11155111) | EvmChain.SEPOLIA |
Ethereum Holesky | 0x4268 (17000) | EvmChain.HOLESKY |
Supported APIs
The following APIs are supported for Ethereum:
Wallet API
The Wallet API enables you to interact with wallet data on the Ethereum blockchain.
- Get Wallet History on Ethereum
- Get Wallet Token Balances on Ethereum
- Get Wallet Token Approvals on Ethereum
- Get Wallet NFT Balances on Ethereum
- Get Wallet DeFi Positions on Ethereum
- Get Wallet Net-worth on Ethereum
- Get Wallet PnL on Ethereum
- Get Wallet Details on Ethereum
- Get Wallet Domains on Ethereum
NFT API
The NFT API allows you to interact with NFT-related data on Ethereum. You can:
- Get NFTs on Ethereum
- Get NFT Metadata on Ethereum
- Get NFT Transfers on Ethereum
- Get NFT Collections on Ethereum
- Get NFT Owners on Ethereum
- Get NFT Prices on Ethereum
- Get NFT Trades on Ethereum
- Get NFT Stats on Ethereum
- Get NFT Traits and Rarity on Ethereum
Token API
The Token API provides methods for interacting with ERC-20 tokens on Ethereum. Choose from the following actions:
- Get Token Metadata on Ethereum
- Get Token Price on Ethereum
- Get Token Balances on Ethereum
- Get Token Approvals on Ethereum
- Get Token Transfers on Ethereum
- Get Token Top Traders on Ethereum
- Get Token Pairs & Liquidity on Ethereum
- Get Token Stats on Ethereum
- Get Token Owners on Ethereum
DeFi API
The DeFi API enables interaction with decentralized finance positions and data on Ethereum:
Entity API
The Entity API allows you to interact with various entities on Ethereum, such as exchanges or other organizations:
Price API
Retrieve price data for tokens and NFTs on Ethereum using the Price API:
Blockchain API
The Blockchain API gives access to blockchain-level data such as blocks, transactions, and logs:
- Get Blocks on Ethereum
- Get Transactions on Ethereum
- Get Logs on Ethereum
- Get Stats on Ethereum
- Get Latest Block Number on Ethereum
Unlock the Power of Ethereum with Moralis
Curious about how you can leverage the full potential of Ethereum? Check out our Ethereum page to see how Moralis can help you build faster and smarter. With features like easy access to on-chain data, token balances, and NFT management, Moralis simplifies Ethereum development for all kinds of dapps.
Discover more about what you can build on Ethereum with Moralis:
Learn more on our Ethereum page