logo

Chủ đề:

Ngôn ngữ:

logo

Icon Ethereum Mainnet networkEthereum Mainnet

Chain ID

1

Currency symbol

ETH

Trang web

https://ethereum.org

Block explorer URL

https://etherscan.io

Ethereum Mainnet - Danh sách RPC Endpoint
RPC EndpointThêm vào ví
https://eth.llamarpc.com
https://endpoints.omniatech.io/v1/eth/mainnet/public
https://rpc.ankr.com/eth
https://go.getblock.io/d7dab8149ec04390aaa923ff2768f914
https://eth-mainnet.nodereal.io/v1/1659dfb40aa24bbb8153a677b98064d7
https://ethereum.publicnode.com
wss://ethereum.publicnode.com
https://1rpc.io/eth
https://rpc.builder0x69.io
https://rpc.mevblocker.io
https://rpc.flashbots.net
https://virginia.rpc.blxrbdn.com
https://uk.rpc.blxrbdn.com
https://singapore.rpc.blxrbdn.com
https://eth.rpc.blxrbdn.com
https://cloudflare-eth.com
https://eth-mainnet.public.blastapi.io
https://api.securerpc.com/v1
https://openapi.bitstack.com/v1/wNFxbiJyQsSeLrX8RRCHi7NpRxrlErZk/DjShIqLishPCTB9HiMkPHXjUM9CNM9Na/ETH/mainnet
https://eth-pokt.nodies.app
https://eth-mainnet-public.unifra.io
https://ethereum.blockpi.network/v1/rpc/public
https://rpc.payload.de
https://api.zmok.io/mainnet/oaen6dy8ff6hju9k
https://eth-mainnet.g.alchemy.com/v2/demo
https://eth.api.onfinality.io/public
https://core.gashawk.io/rpc
https://mainnet.eth.cloud.ava.do
https://ethereumnodelight.app.runonflux.io
https://eth-mainnet.rpcfast.com?api_key=xbhWBI1Wkguk8SNMu1bvvLurPGLXmgwYeC4S6g2H7WdwFigZSmPWVZRxrskEQwIf
https://main-light.eth.linkpool.io
https://rpc.eth.gateway.fm
https://rpc.chain49.com/ethereum?api_key=14d1a8b86d8a4b4797938332394203dc
https://eth.meowrpc.com
https://eth.drpc.org
https://mainnet.gateway.tenderly.co
https://rpc.tenderly.co/fork/c63af728-a183-4cfb-b24e-a92801463484
https://gateway.tenderly.co/public/mainnet
https://api.zan.top/node/v1/eth/mainnet/public
https://eth-mainnet.diamondswap.org/rpc
https://rpc.notadegen.com/eth
https://eth.merkle.io
https://rpc.lokibuilder.xyz/wallet
https://services.tokenview.io/vipapi/nodeservice/eth?apikey=qVHq2o6jpaakcw3lRstl
https://api.mycryptoapi.com/eth
wss://mainnet.gateway.tenderly.co
https://rpc.blocknative.com/boost
https://rpc.flashbots.net/fast
https://rpc.mevblocker.io/fast
https://rpc.mevblocker.io/noreverts
https://rpc.mevblocker.io/fullprivacy

Cách sử dụng Ethereum Mainnet RPC Endpoint

Bạn có thể sử dụng Ethereum Mainnet RPC Endpoint để kết nối với các thư viện web3 như: ethejs, web3 hoặc các ví web3 như: Metamask, WalletConnect, WalletConnect.. cho phép bạn có thể dễ dàng tương tác với blockchain cũng như sử dụng cho các ứng dụng phi tập trung trên Ethereum Mainnet

Thư viện Web3

web3js

   const Web3 = require('web3');

   // Replace 'YOUR_RPC_URL' with the Ethereum Mainnet RPC endpoint URL
   const rpcURL = https://eth.llamarpc.com;

   // Create a new Web3 instance using the RPC endpoint
   const web3 = new Web3(new Web3.providers.HttpProvider(rpcURL));

   // Now you can use the 'web3' object to interact with Ethereum Mainnet
   web3.eth.getBlockNumber()
      .then(blockNumber => {
         console.log('Latest block number:', blockNumber);
      })
      .catch(error => {
         console.error('Error:', error);
      });
   

ethersjs

   const ethers = require('ethers');

   // Replace 'YOUR_RPC_URL' with the Ethereum Mainnet RPC endpoint URL
   const rpcURL = https://eth.llamarpc.com;

   // Create a provider using the Ethereum Mainnet RPC endpoint
   const provider = new ethers.providers.JsonRpcProvider(rpcURL);

   // You can use the 'provider' object to interact with Ethereum Mainnet
   provider.getBlockNumber()
      .then(blockNumber => {
         console.log('Latest block number:', blockNumber);
      })
      .catch(error => {
         console.error('Error:', error);
      });
   

Các ví web3 (Metamask, WalletConnect, Coinbase Wallet, Taho, Argent...)

Bạn có thể sử dụng Ethereum Mainnet Thư viện Web3