Skip to content
New guideAgent Cookbook 12 copy-ready prompts for AI coding agents.See recipes

Base Mainnet RPC Endpoints

Chain ID
Family
EVM
Native token
ETH
Block time
2 s
HTTPS
https://api-base-mainnet-archive.n.dwellir.com/<your-api-key>
WSS
wss://api-base-mainnet-archive.n.dwellir.com/<your-api-key>

Base is an Ethereum Layer 2 (L2) solution designed to be secure, low-cost, and builder-friendly, aiming to onboard the next billion users to the blockchain. It is powered by Optimism's open-source OP Stack and is scaled by Coinbase, offering seamless integrations and easy fiat onramps. Base is EVM equivalent, allowing developers to deploy any EVM codebase and onramp users and assets from Ethereum L1, Coinbase, and other interoperable chains.

Base RPC docs: methods and examples

Give it a try

Run a call against Base Mainnet, then copy it as code.

ReadyMainnet · api-base-mainnet-archive.n.dwellir.comShared demo key
POST https://api-base-mainnet-archive.n.dwellir.com/<key>
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_blockNumber",
  "params": []
}
BASH
curl -sS -X POST https://api-base-mainnet-archive.n.dwellir.com/<your-api-key> \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'

Pricing

Every response costs one API credit on the shared plans, with no compute units. For a fixed monthly price, move to an Unlimited Node or a dedicated cluster.

Shared Node Pricing

How many calls do you make per month?

150,000,000/ month

Growth

$299/month

  • 500 Responses /sec
  • Pay in Crypto
  • Dedicated Account Manager

150,000,000 responses ≈ 150.0M • Base $299 + Overages $0

Choose Growth

Base Mainnet Unlimited Node

  • Unmetered requests within your tier
  • Five tiers from 25 to 1,000 RPS
  • No API credits, no overages
  • Pay in Crypto
  • HTTP & Websocket APIs
  • Trace APIs
  • Debug APIs
  • Same endpoint URL and API key
  • Self-serve in the dashboard
  • Fixed monthly invoice

Base Mainnet Dedicated Node Cluster

  • Unlimited RPS & Responses
  • HTTP & Websocket APIs
  • Trace APIs
  • Debug APIs
  • Pay in Crypto
  • Dedicated Account Manager
  • Tailored load balancing
  • Access to Engineering teams
  • Global data centers

FAQs

Dwellir provides Base RPC endpoints at https://api-base-mainnet-archive.n.dwellir.com/<your-api-key> for mainnet (Chain ID 8453) and https://api-base-sepolia-archive.n.dwellir.com/<your-api-key> for Sepolia testnet (Chain ID 84532). Replace <your-api-key> with the key from your Dwellir dashboard.

Yes. WebSocket endpoints are available at wss://api-base-mainnet-archive.n.dwellir.com/<your-api-key> for mainnet and wss://api-base-sepolia-archive.n.dwellir.com/<your-api-key> for Sepolia testnet. Use WebSockets for real-time subscriptions like eth_subscribe for new blocks, pending transactions, and log events.

Yes. Dwellir's Base endpoints run archive nodes on both mainnet and Sepolia testnet, providing full historical state access. You can query balances, call contracts, and trace transactions at any past block height using methods like eth_call, eth_getBalance, and debug/trace APIs.

  1. Sign up at dwellir.com and retrieve your API key from the dashboard. 2. Replace your current RPC URL (e.g., https://mainnet.base.org) with https://api-base-mainnet-archive.n.dwellir.com/<your-api-key>. 3. For WebSocket connections, use wss://api-base-mainnet-archive.n.dwellir.com/<your-api-key>. The API is fully compatible with standard Ethereum JSON-RPC methods.

Base Mainnet uses Chain ID 8453 with ETH as the native token and ~2 second block times. Base Sepolia testnet uses Chain ID 84532. Built on Optimism's OP Stack, Base is part of the Superchain ecosystem and is backed by Coinbase. As an Optimistic Rollup, withdrawals to Ethereum L1 require a ~7 day challenge period. Block explorers: basescan.org (mainnet) and sepolia.basescan.org (Sepolia).

Dwellir's Base endpoints are fully compatible with standard EVM tooling including Web3.js, ethers.js, viem, and Web3.py. Development frameworks like Hardhat, Foundry, and Truffle work seamlessly. Coinbase Wallet and OnchainKit provide additional Base-specific functionality. Simply configure your provider with the Dwellir RPC URL and your API key.

EIP-4844 dramatically reduced L1 data costs for Base and other L2 rollups by introducing 'blobs'—temporary data chunks that are cheaper than calldata. Since the Dencun upgrade, Base transactions are 10-100x cheaper because rollup data is posted as blobs instead of calldata. Your application code doesn't need changes to benefit; the sequencer automatically uses blob transactions. L2 execution fees remain the same, but the L1 data posting component (visible in transaction receipts as 'l1Fee') is significantly reduced.

Base uses EIP-1559 gas pricing with a dynamically adjusting base fee. 'Transaction underpriced' means your maxFeePerGas is below the current block's base fee. On L2s like Base, the base fee can spike during high demand. To fix: 1) Fetch the current base fee using eth_gasPrice or eth_feeHistory, 2) Set maxFeePerGas at least 20-30% higher than the current base fee to account for fluctuations, 3) Include a reasonable maxPriorityFeePerGas (typically 0.001-0.1 gwei on Base). For time-sensitive transactions, doubling the base fee ensures inclusion across several full blocks.

What our customers say

  • “DIA leverages Dwellir’s robust infrastructure as a primary and/or backup RPC provider to power oracle services across a wide range of blockchain networks. Their reliability and forward-thinking approach to supporting new and emerging ecosystems align closely with DIA’s mission to provide resilient, scalable data infrastructure for Web3. This collaboration enhances DIA’s redundancy model and strengthens DIA’s ability to serve as a foundational layer for decentralized applications across the multi-chain landscape.”
    Dillon HansonHead of Business Development, DIA
  • “We are very impressed! You are fast at deploying new nodes and we haven’t experienced any downtime yet with Dwellir.”
    Jarmo IsotaloCTO, Token Terminal
  • “Dwellir’s support is genuinely standout. We rely on them heavily across 80+ networks, and they’ve been rock solid, reliable infrastructure and a fantastic team to work with.”
    Denham PreenCo-founder, Envio
  • “Dwellir is more than just a service provider for Paribu Custody; they are a strategic partner. They consistently deliver tailored solutions, always standing by our side. Their reliability, speed, and proactive approach ensure seamless operations. Working with them truly makes a difference.”
    Anıl KüçükrecepSenior Engineering Manager, Paribu

Start free on Base.1 response = 1 credit.

100,000 responses a day at 20 per second. The same plan covers 150+ networks.