All Blog Posts
Article Image

Hyperliquid RPC Node Setup: Public vs Private Endpoints, Performance Optimization & Cost Analysis

5th November 2025

Hyperliquid is rapidly becoming the go-to L1 for onchain trading—zero gas fees, native order book, and a custom EVM-compatible VM optimized for high-frequency operations. But as adoption accelerates, developers are discovering that reliable RPC access is non-negotiable infrastructure.

As of August 2025, Hyperliquid's public RPC enforces a 100 requests per minute rate limit on HyperEVM endpoints. For prototyping, this might work. For production trading bots, real-time indexers, or data-intensive analytics, this throttle will break your application.

This guide covers everything you need to know about Hyperliquid RPC nodes: what they are, how to access them, when public endpoints suffice, and when you need private infrastructure. We'll also show you how to set up production-grade RPC access that scales with your application without surprise costs or rate-limit headaches.

What is a Hyperliquid RPC Node?

A Hyperliquid RPC node provides programmatic access to the HyperEVM—Hyperliquid's EVM-compatible execution layer. If you've worked with Ethereum or other EVM chains, the interface will feel familiar: HyperEVM implements a subset of the standard JSON-RPC API used across EVM-compatible networks.

How Hyperliquid RPC Works

When you query a Hyperliquid RPC endpoint, you're reading data or simulating state transitions from the HyperEVM. Unlike traditional blockchain RPCs where you also submit transactions through the same interface, Hyperliquid separates concerns:

RPC layer (read-only):

Execution layer (write operations):

This architectural split is why choosing the right RPC provider matters even more on Hyperliquid. Your RPC infrastructure directly impacts:

Public vs Private Hyperliquid RPC Nodes

There are two primary ways to access HyperEVM RPC endpoints: through public infrastructure or private nodes.

Public Hyperliquid RPC Endpoints

Hyperliquid's core team maintains a free public RPC endpoint for mainnet:

Mainnet:

https://rpc.hyperliquid.xyz/evm

This public endpoint supports standard read-only JSON-RPC methods:

The critical limitation: Starting August 9, 2025, this endpoint enforces a 100 requests per minute rate limit per IP address.

When Public RPC Works

Public endpoints are sufficient for:

When You Need Private RPC Infrastructure

You'll hit the public rate limit fast if you're running:

Trading bots:

Real-time indexers:

Production applications:

For any production use case, you need private RPC infrastructure that eliminates rate limits, reduces latency, and provides reliability guarantees.

Private RPC Options

Private Hyperliquid RPC access comes in two forms:

  1. Self-hosted node - Run your own HyperEVM RPC node (non-validator mode)
  2. Managed RPC provider - Use infrastructure providers like Dwellir, Chainstack, or others

The total cost of ownership calculation typically favors managed providers unless you have dedicated infrastructure teams. We'll cover both approaches.

How to Get a Private Hyperliquid RPC Node with Dwellir

Dwellir provides high-performance Hyperliquid RPC infrastructure optimized for trading bots, indexers, and data-intensive applications. Unlike public endpoints, Dwellir eliminates rate limits, reduces latency, and provides dedicated infrastructure without enterprise-level costs.

Why Choose Dwellir for Hyperliquid RPC

1. No Compute Unit Confusion

Dwellir uses transparent 1:1 pricing—1 RPC response = 1 API credit. Whether you're making a basic eth_blockNumber call or resource-intensive trace methods, every response costs exactly one credit. No complex formulas, no surprise bills.

Plans start at just $49/month with transparent, predictable scaling as your application grows.

2. Optional: Dedicated Low-Latency Clusters

For ultra-low latency requirements, Dwellir offers an optional add-on: dedicated clusters where you can run your code next to the node. This matters immensely for:

This dedicated infrastructure option eliminates network round-trips entirely by co-locating your application logic with the RPC node.

3. Optional: High-Performance gRPC Infrastructure & Orderbook Server

Beyond standard HTTP JSON-RPC, Dwellir provides gRPC streaming and orderbook server as optional add-ons for Hyperliquid, enabling you to process 70+ blocks per second with sub-second latency. These advanced features are critical for:

4. 150+ Network Support

While specialized for Hyperliquid, Dwellir supports 150+ blockchain networks with the same transparent pricing. If you're building multi-chain applications or comparing Hyperliquid performance to other L1s, you have one provider for everything.

Setting Up Your Dwellir Hyperliquid RPC Endpoint

Step 1: Create Your Account

Visit dashboard.dwellir.com/register to create your account and get started with Hyperliquid RPC.

Step 2: Select Hyperliquid Network

In your dashboard, find and select the Hyperliquid endpoint card.

Step 3: Choose Your Infrastructure Tier

Dwellir offers flexible tiers based on throughput needs:

Step 4: Get Your RPC Endpoint

Your RPC endpoint URL is ready to use immediately—simply copy and paste it. The API key is already included in the URL, so no additional configuration is needed.

Your endpoint will look like:

https://api-hyperliquid-mainnet-evm.n.dwellir.com/YOUR_API_KEY

Step 5: Integrate and Monitor

Use Dwellir's dashboard to:

Code Example: Connecting to Dwellir Hyperliquid RPC

// Standard HTTP JSON-RPC
const { ethers } = require('ethers');

const provider = new ethers.JsonRpcProvider(
  'https://api-hyperliquid-mainnet-evm.n.dwellir.com/YOUR_API_KEY',
  {
    name: 'hyperliquid-mainnet',
    chainId: 42161 // Hyperliquid chain ID
  }
);

// Query current block
const blockNumber = await provider.getBlockNumber();
console.log('Current block:', blockNumber);

// Query contract state
const contract = new ethers.Contract(
  '0xYourContractAddress',
  contractABI,
  provider
);

const result = await contract.someMethod();
# Python example with web3.py
from web3 import Web3

# Connect to Dwellir Hyperliquid RPC
w3 = Web3(Web3.HTTPProvider('https://api-hyperliquid-mainnet-evm.n.dwellir.com/YOUR_API_KEY'))

# Verify connection
print(f"Connected: {w3.is_connected()}")
print(f"Current block: {w3.eth.block_number}")

# Query balance
balance = w3.eth.get_balance('0xYourAddress')
print(f"Balance: {w3.from_wei(balance, 'ether')} ETH")

For gRPC streaming examples (available as an optional add-on) optimized for Hyperliquid, see Dwellir's gRPC documentation.

Alternative: Self-Hosting a Hyperliquid RPC Node

For teams with dedicated infrastructure resources, running your own Hyperliquid RPC node is possible. This gives you maximum control and data ownership but comes with significant operational costs.

Requirements for Self-Hosted Hyperliquid Node

Hardware specifications (minimum):

Operational requirements:

Cost Analysis: Self-Hosted vs Managed Provider

Let's calculate the real total cost of ownership:

Self-hosted monthly costs:

Managed provider (Dwellir):

Conclusion: For most teams, managed RPC providers like Dwellir deliver 3-10x cost savings while providing better reliability and performance. Even high-volume Dwellir plans are often cheaper than basic self-hosted infrastructure when you account for engineering time.

When Self-Hosting Makes Sense

Consider running your own node only if:

For 95% of development teams, managed RPC infrastructure is the pragmatic choice.

Hyperliquid RPC Use Case Examples

Let's look at real-world applications and their infrastructure requirements:

Trading Bot (High-Frequency)

Requirements:

Recommended setup:

Estimated costs (Dwellir):

Compare to:

Real-Time Indexer

Requirements:

Recommended setup:

Estimated costs (Dwellir):

Portfolio Dashboard

Requirements:

Recommended setup:

Estimated costs (Dwellir):

Advanced Topics: Hyperliquid RPC Optimization

Understanding HyperEVM's Unique Architecture

Hyperliquid's architecture differs from typical EVM chains in ways that impact RPC usage:

Execution model:

State access patterns:

Optimal strategy:

Troubleshooting Common Issues

Rate Limiting on Public RPC

Symptom: 429 (Too Many Requests) errors

Diagnosis:

try {
  await provider.getBlockNumber();
} catch (error) {
  if (error.code === 429) {
    console.log('Hit rate limit - time to upgrade to private RPC');
  }
}

Solution: Migrate to private RPC infrastructure. Public rate limits are not temporary—they're permanent infrastructure constraints.

High Latency Spikes

Symptom: Occasional very slow responses (>1 second)

Diagnosis: Check p95 and p99 latencies, not just averages

Solutions:

  1. Switch to geographically closer RPC provider
  2. Use dedicated infrastructure (Dwellir clusters)
  3. Implement request batching to reduce round-trips
  4. Consider gRPC for lower protocol overhead

Incomplete Event Logs

Symptom: Missing events in eth_getLogs results

Diagnosis:

// Check for gaps in block processing
let lastBlock = startBlock;
for (const log of logs) {
  if (log.blockNumber > lastBlock + 1) {
    console.warn(`Gap detected: blocks ${lastBlock + 1} to ${log.blockNumber - 1}`);
  }
  lastBlock = log.blockNumber;
}

Solutions:

  1. Reduce block range per query (try 1000 blocks max)
  2. Implement gap detection and backfill logic
  3. Use WebSocket subscriptions for real-time monitoring
  4. Consider managed indexing solutions

Connection Timeouts

Symptom: Requests hanging or timing out

Diagnosis: Network connectivity or provider health issues

Solutions:

// Implement timeout and retry logic
async function rpcCallWithTimeout(callFunction, timeoutMs = 5000) {
  const timeout = new Promise((_, reject) => 
    setTimeout(() => reject(new Error('RPC timeout')), timeoutMs)
  );
  
  return Promise.race([callFunction(), timeout]);
}

Consider provider failover if timeouts are frequent.

Conclusion: Choosing Your Hyperliquid RPC Strategy

For most developers building on Hyperliquid, the decision tree is straightforward:

Use public RPC if:

Use managed private RPC (Dwellir) if:

Self-host only if:

For 95% of teams, managed RPC with transparent pricing delivers the best value. Dwellir's combination of simple 1:1 pricing starting at $49/month, optional dedicated low-latency clusters (where you can run your code next to the node), optional gRPC infrastructure, and optional orderbook server makes it particularly compelling for Hyperliquid applications—especially for teams that want flexibility to scale from basic RPC to advanced features as needs grow.

The public RPC's 100 requests/minute limit was never meant for production use. If you're serious about building on Hyperliquid, private RPC infrastructure isn't optional—it's foundational.


Get Started with Dwellir's Hyperliquid RPC

Ready to eliminate rate limits and optimize performance?

Additional Resources


This guide is for informational purposes only. RPC infrastructure requirements vary by application. Always conduct load testing before production deployment. Pricing and rate limits subject to change—verify current details with providers.

read another blog post

Get your API key

and join other leading Web3 companies using Dwellir's infrastructure