OnFinality
New RPC users get 35% off their first monthView the offer
Unichain logo

Unichain RPC Endpoint and API

Designed for DeFi. Powered by Uniswap.

Unichain is an OP Stack Ethereum Layer 2. Use these settings to connect an EVM wallet or application to Unichain Mainnet.

Chain ID130
CurrencyETH
Create a free API key for 400,000 response units per day and up to 40 response units/second. Method weights apply.

Public endpoints are shared and rate-limited. View public rate limits

Quick Start
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber"}' 'https://unichain.api.onfinality.io/public'
curl -H 'Content-Type: application/json' -d '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber"}' 'https://unichain.api.onfinality.io/public'
HTTPs
https://unichain.api.onfinality.io/public
https://unichain.api.onfinality.io/public
Websocket
wss://unichain.api.onfinality.io/public-ws
wss://unichain.api.onfinality.io/public-ws
GET CONNECTED

Connect to Unichain

Choosing a Unichain RPC provider? Connect with OnFinality over HTTPS or WebSocket, verify chain ID 130, and check access for logs, archive reads and debugging.

Try the public interface

First request
curl 'https://unichain.api.onfinality.io/public' \
  -H 'Content-Type: application/json' \
  --data '{"id":1,"jsonrpc":"2.0","method":"eth_blockNumber"}'

Use the interface and request shown above for an initial check, then test the methods and traffic pattern your application actually needs.

02

Create your own access

  1. Open the dashboard and select this network.
  2. Create an endpoint and copy the access details supplied by the dashboard.
  3. Validate your application's methods, peak traffic and error handling before production.
Create an RPC endpoint for Unichain
NETWORK REFERENCE

Recover Unichain logs after a disconnect

Save the last block your indexer processed and verify chain ID 130 when it reconnects. Read the missed range with eth_getLogs, filtering by contract address and event topics. Use bounded block ranges and save progress after each completed range.

If the live subscription resumes before the backfill completes, deduplicate logs by block hash, transaction hash and log index. Reconcile the affected range if the chain reorganizes.

Choose HTTPS for request-response reads and WebSocket for supported subscriptions. Before choosing a provider, check historical state with a specific block and confirm whether your plan includes the debug methods you need. Flow tests belong on Unichain Sepolia.

RPC API

RPC API plans & response units

Choose a shared RPC plan by response-unit allowance and peak throughput. Method weights and network-specific availability still apply.

Developer

Free
Included response units
400,000/day
Rate limit
Up to 40 RU/s
Extra RU
Not available

Accelerate

$249/month
Included response units
100 million/month
Rate limit
500 RU/s
Extra RU
$3.75/million
Compare RPC plans

Plan figures checked 8 November 2026. RU are not always raw requests; WebSocket responses also count toward limits. Check the current pricing and this network's method documentation. Node charges and applicable taxes are additional.

NETWORK REFERENCE

Unichain Mainnet RPC settings

Unichain is an OP Stack Ethereum Layer 2. Use these settings to connect an EVM wallet or application to Unichain Mainnet.

Network
Unichain Mainnet
EVM chain ID
130 (0x82)
Gas token
ETH
OnFinality public HTTPS
https://unichain.api.onfinality.io/public
OnFinality public WebSocket
wss://unichain.api.onfinality.io/public-ws
Explorer
Uniscan

See Unichain network information for official mainnet and Sepolia settings.

NETWORK REFERENCE

Check your Unichain connection

Send eth_chainId to confirm that your wallet or application is connected to Unichain Mainnet:

bash
curl -sS 'https://unichain.api.onfinality.io/public' \
  -H 'Content-Type: application/json' \
  --data '{"jsonrpc":"2.0","id":1,"method":"eth_chainId","params":[]}'

The expected result is 0x82. For a liquidity app, test the contract reads, logs, transaction receipts and subscriptions your application needs, and handle WebSocket reconnects.

NETWORK REFERENCE

Choose Unichain RPC access

Start with the shared public endpoint for connection checks. Create an authenticated OnFinality endpoint to review usage and select capacity for your application. OnFinality's Unichain method reference lists archive access and debug methods; debug is available on paid plans. Check the methods, historical range and limits your workload requires before choosing a plan.

Unichain Sepolia is a separate test network with chain ID 1301 and test ETH; use the Unichain Sepolia RPC page for testing. Unichain's Flashblocks provide partial block updates, but check your provider's support before depending on them in an application.

BUILT FOR YOUR WORKLOAD

Build with Unichain

Plan access around the requests, operational requirements and release workflow your application needs.

Integration

Start with a connection check, then validate the reads, transactions or data workflows required by your application.

Usage planning

Review method-specific limits, plan allowances and usage before increasing traffic. Different methods can consume different response units.

Operations

Use your real client region and request pattern when evaluating latency, retries and service availability.

Never Worry about Infrastructure Again

OnFinality takes away the heavy lifting of DevOps so you can build smarter and faster.

Get Started