跳至主要內容

Base RPC

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

What is Base?

Base is a Layer 2 scaling solution for Ethereum built by Coinbase using the OP Stack, the same technology powering Optimism. Base uses optimistic rollup technology to process transactions off-chain while posting compressed data to Ethereum mainnet for security.

Base implements EVM equivalence at the bytecode level through the Optimism Virtual Machine. The network uses sequencers to order transactions and achieve fast block times. Base inherits Ethereum's security through a fraud proof window during which invalid state transitions can be challenged. The network uses ETH for gas fees and supports all Ethereum transaction types including EIP-1559.

Interacting with Base

Base nodes expose a JSON-RPC interface that provides full compatibility with Ethereum's API while adding L2-specific functionality. The Base JSON-RPC API enables seamless migration of Ethereum applications.

透過此 API,您可以:

  • 執行所有標準的以太坊 JSON-RPC 方法(eth_call、eth_sendTransaction、eth_getBalance)
  • Access L2-specific methods for gas estimation and rollup operations
  • Access Flashblocks API
  • 透過 WebSocket 連線訂閱即時事件

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

  • Using a hosted provider such as a Quicknode Base endpoint, which delivers low-latency global access, archive data, and enhanced reliability out of the box

支援的網路

Quicknode provides access to the following Base networks:

主網
類型:製作
鏈 ID:
8453
HTTP:
WSS:
檔案:
修剪:
塞波利亞
類型:測試網
鏈 ID:
84532
HTTP:
WSS:
檔案:
修剪:
分享這份文件