Ga naar de hoofdinhoud

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.

Wat 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.

Met deze API kun je:

  • Voer alle standaard Ethereum JSON-RPC-methoden uit (eth_call, eth_sendTransaction, eth_getBalance)
  • Access L2-specific methods for gas estimation and rollup operations
  • Access Flashblocks API
  • Abonneer je op realtime gebeurtenissen via WebSocket-verbindingen

Je kunt de API als volgt gebruiken:

  • 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

Ondersteunde netwerken

Quicknode provides access to the following Base networks:

Mainnet
Type:Productie
Keten-ID:
8453
HTTP:
WSS:
Archief:Ja
Snoeien:Geen
Sepolia
Type:Testnet
Keten-ID:
84532
HTTP:
WSS:
Archief:Ja
Snoeien:Geen
Deel dit document