Base RPC
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:
Complete reference for developers building on Base with Quicknode:
快速入門
Get started with Base quickly. Follow our step-by-step quickstart to set up your endpoint and make your first API request.
供應商端點
Learn how to configure and manage your Base endpoints for optimal performance and reliability.
API 概覽
探索受支援的 API、網路、Quicknode 產品以及增強的 API 功能,以建置功能強大的應用程式。
市集
探索並整合來自 Quicknode 市集的強大外掛程式與工具,以強化您的 Web3 應用程式。
端點安全
透過身分驗證、白名單機制及最佳安全實務,確保您的端點安全。
錯誤代碼
Understand common error codes and troubleshooting steps for Base API requests.