Ethereum JSON RPC 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 Ethereum RPC API is available for the following networks:
- Ethereum Mainnet
- Ethereum Sepolia Testnet
- Ethereum Holesky Testnet
Network Details
Network | Chain ID | EVM Chain | RPC URLs |
---|---|---|---|
Ethereum Mainnet | 0x1 (1) | EvmChain.ETHEREUM | https://site1.moralis-nodes.com/eth/ |
https://site2.moralis-nodes.com/eth/ | |||
Ethereum Sepolia | 0xaa36a7 (11155111) | EvmChain.SEPOLIA | https://site1.moralis-nodes.com/sepolia/ |
https://site2.moralis-nodes.com/sepolia/ | |||
Ethereum Holesky | 0x4268 (17000) | EvmChain.HOLESKY | https://site1.moralis-nodes.com/holesky/ |
https://site2.moralis-nodes.com/holesky/ |
Supported RPC Methods
- eth_blockNumber
- eth_call
- eth_chainId
- eth_createAccessList
- eth_estimateGas
- eth_feeHistory
- eth_gasPrice
- eth_getBalance
- eth_getBlockByHash
- eth_getBlockByNumber
- eth_getBlockTransactionCountByHash
- eth_getBlockTransactionCountByNumber
- eth_getBlockReceipts
- eth_getCode
- eth_getLogs
- eth_getProof
- eth_getStorageAt
- eth_getTransactionByHash
- eth_getTransactionByBlockHashAndIndex
- eth_getTransactionByBlockNumberAndIndex
- eth_getTransactionCount
- eth_getTransactionReceipt
- eth_getUncleByBlockHashAndIndex
- eth_getUncleByBlockNumberAndIndex
- eth_getUncleCountByBlockHash
- eth_getUncleCountByBlockNumber
- eth_maxPriorityFeePerGas
- eth_sendRawTransaction