Base RPC Endpoints
Quick Start
curl -sS -X POST https://api-base-mainnet-archive.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots> \-H 'Content-Type: application/json' \-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
import { JsonRpcProvider } from 'ethers';const provider = new JsonRpcProvider('https://api-base-mainnet-archive.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>');const latest = await provider.getBlockNumber();console.log('block', latest);
import requestsurl = 'https://api-base-mainnet-archive.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>'payload = { 'jsonrpc': '2.0', 'id': 1, 'method': 'eth_blockNumber', 'params': [] }resp = requests.post(url, json=payload)print(resp.json())
package mainimport ("bytes""fmt""net/http""io/ioutil")func main() {url := "https://api-base-mainnet-archive.n.dwellir.com/<API_Keys_Are_Not_Made_for_Bots>"payload := []byte("{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"eth_blockNumber\",\"params\":[]}")resp, err := http.Post(url, "application/json", bytes.NewBuffer(payload))if err != nil { panic(err) }defer resp.Body.Close()body, _ := ioutil.ReadAll(resp.Body)fmt.Println(string(body))}
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 Flashblock Support
Skip the 2-second block wait. Dwellir's Base endpoints stream sub-block updates every ~200ms so you can read preconfirmed state, track pending transactions, and get receipts in milliseconds.
Pricing
How many calls do you make per month?
Growth
- 500 Responses /sec
- Dedicated Account Manager
- Unlimited RPS & Responses
- HTTP & Websocket APIs
- Trace APIs
- Debug APIs
- Dedicated Account Manager
- Pay in Crypto
- Tailored load balancing
- Access to Engineering teams
- Global data centers
Developer Resources
FAQs
What is the Dwellir Base RPC URL?
Do you support WebSockets on Base?
Do you support archive data on Base?
How do I migrate from public Base RPC endpoints?
What are the Base Chain IDs and network details?
What SDKs can I use with Dwellir's Base endpoints?
How does EIP-4844 (blob transactions) affect my Base transaction costs?
Why am I seeing 'transaction underpriced' errors on Base?
Get your API key
and join other leading Web3 companies using Dwellir's infrastructure