Ir diretamente para o conteúdo principal

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.

Com esta API, pode:

  • Executar todos os métodos JSON-RPC padrão da Ethereum (eth_call, eth_sendTransaction, eth_getBalance)
  • Access L2-specific methods for gas estimation and rollup operations
  • Access Flashblocks API
  • Subscrever eventos em tempo real através de ligações WebSocket

Pode aceder à API da seguinte forma:

  • 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

Redes compatíveis

Quicknode provides access to the following Base networks:

Rede principal
Tipo:Produção
ID da cadeia:
8453
HTTP:
WSS:
Arquivo:Sim
Poda:Nenhuma
Sepolia
Tipo:Rede de teste
ID da cadeia:
84532
HTTP:
WSS:
Arquivo:Sim
Poda:Nenhuma
Partilhar este documento