跳至主要內容

Ethereum RPC

With Quicknode, you get access to our global Ethereum network which always routes your API requests to the nearest available location, ensuring low latency and the fastest speeds.

什麼是以太坊?

Ethereum is the most widely adopted smart contract blockchain, powered by the Ethereum Virtual Machine (EVM). Developers write smart contracts primarily in Solidity (or other EVM-compatible languages like Vyper, Yul), which compile to EVM bytecode and deploy across Ethereum's decentralized network of validator and full nodes.

Since 2022, Ethereum uses a proof-of-stake (PoS) consensus mechanism and maintains an account-based model to track balances and smart contract state. Together, these features make Ethereum a secure, programmable foundation for decentralized applications (dApps).

What is the Ethereum JSON-RPC API?

Ethereum nodes expose a JSON-RPC interface that allows developers to interact with the blockchain programmatically. This is known as the Ethereum JSON-RPC API.

透過此 API,您可以:

  • Query blockchain state (blocks, transactions, receipts, logs)
  • Send transactions
  • Deploy and interact with smart contracts
  • Subscribe to real-time events (via WebSocket subscriptions such as eth_subscribe)

您可以透過以下方式存取 API:

  • Running a local Ethereum client (e.g., Geth, Nethermind, Besu). You can learn how by looking at our node setup guides here.
  • Using a hosted provider such as a Quicknode Ethereum endpoint, which delivers low-latency global access, archive data, and enhanced reliability out of the box.

支援的網路

Quicknode provides access to the following Ethereum networks:

主網
類型:製作
鏈 ID:
1
HTTP:
WSS:
檔案:
修剪:
塞波利亞
類型:測試網
鏈 ID:
11155111
HTTP:
WSS:
檔案:
修剪:
Hoodi
類型:測試網
鏈 ID:
560048
HTTP:
WSS:
檔案:
修剪:

常見問題

How can I access the Ethereum JSON-RPC API?

You can access the API by running a local Ethereum client like Geth, Nethermind, or Besu, or by using a hosted provider such as a Quicknode Ethereum endpoint for low-latency global access with enhanced reliability.

What Ethereum networks does Quicknode support?

Quicknode provides access to Ethereum Mainnet (Chain ID 1), Sepolia testnet (Chain ID 11155111), and Hoodi testnet (Chain ID 560048), all with HTTP and WebSocket support, archive data, and no pruning.

Does Quicknode support WebSocket connections for Ethereum?

Yes, Quicknode endpoints support WebSocket (WSS) connections for all supported Ethereum networks, enabling real-time event subscriptions like eth_subscribe.

What can I do with Quicknode's Ethereum RPC service?

You can query blockchain state including blocks, transactions, receipts, and logs, send transactions, deploy and interact with smart contracts, and subscribe to real-time blockchain events.

Does Quicknode provide archive node access for Ethereum?

Yes, all Quicknode Ethereum networks (Mainnet, Sepolia, and Hoodi) offer full archive data with no pruning.

分享這份文件