跳转至主要内容

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,您可以:

  • Execute all standard Ethereum JSON-RPC methods (eth_call, eth_sendTransaction, eth_getBalance)
  • Access L2-specific methods for gas estimation and rollup operations
  • Access Flashblocks API
  • Subscribe to real-time events via WebSocket connections

您可以通过以下方式访问该 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:
存档:
修剪:
Sepolia
类型:测试网
链 ID:
84532
HTTP:
WSS:
存档:
修剪:
分享此文档