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