Base JSON RPC API
Introduction
Base is an Ethereum Layer 2 (L2) network that offers high-speed, low-cost transactions with the security of Ethereum. It leverages the Optimism rollup technology to process transactions off-chain, reducing fees and improving throughput. Base is designed to bring the power of Ethereum to more developers and users, enabling a more scalable decentralized finance (DeFi) ecosystem, NFTs, and other dApps.
Supported Networks
The Base RPC API is available for the following networks:
- Base Mainnet
- Base Sepolia Testnet
Network Details
Network | Chain ID | EVM Chain | RPC URLs |
---|---|---|---|
Base Mainnet | 0x2105 (8453) | EvmChain.BASE | https://site1.moralis-nodes.com/base/ |
https://site2.moralis-nodes.com/base/ | |||
Base Sepolia | 0x14a34 (84532) | EvmChain.BASE_SEPOLIA | https://site1.moralis-nodes.com/base-sepolia/ |
https://site2.moralis-nodes.com/base-sepolia/ |
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