Skip to main content

RPC Infrastructure

Nexis Appchain provides robust RPC infrastructure for developers to interact with the network. This document covers the architecture, available endpoints, and best practices for integrating with Nexis RPC services.

Public RPC Endpoints

Mainnet RPC

https://rpc.nex-t1.ai (Coming Soon)

Testnet RPC

https://testnet-rpc.nex-t1.ai

WebSocket

wss://testnet-ws.nex-t1.ai

Rate Limits

100 requests/second (free tier)

Quick Start

RPC Architecture

Components

proxyd (Load Balancer)
  • Routes requests to healthy RPC nodes
  • Implements rate limiting and caching
  • Provides failover and redundancy
  • Monitors node health
RPC Nodes
  • Run op-geth execution client
  • Serve JSON-RPC API requests
  • Maintain state database
  • Sync with sequencer
Consensus Poller
  • Ensures all nodes agree on head
  • Removes inconsistent nodes from pool
  • Prevents serving stale data

proxyd Configuration

The load balancer uses proxyd, Optimism’s production-grade RPC proxy:

Consensus Polling

Consensus polling ensures all RPC nodes return consistent data:

How It Works

Consensus Requirements

For a backend to be considered “in consensus”:
  • Block number within 1 of consensus
  • Block hash matches at consensus height
  • Responds within 500ms
  • No recent errors (< 1% error rate)

Available Methods

Standard Ethereum Methods

Optimism-Specific Methods

Usage Examples

Get Sync Status

Subscribe to New Blocks

Query Event Logs

Estimate Gas with L1 Fees

Rate Limits

Free Tier

Rate Limit Headers

Handle Rate Limits

Running Your Own RPC Node

For production applications, consider running your own RPC infrastructure:

Hardware Requirements

Setup Guide

See RPC Node Setup for detailed instructions.

Quick Start

Best Practices

Connection Management

Caching

Error Handling

Monitoring and Metrics

Health Check Endpoint

Metrics

Learn More

Run an RPC Node

Setup your own RPC infrastructure

RPC Methods

Complete API reference

Infrastructure Overview

Understand the architecture

Quickstart

Start building with RPC

Need higher rate limits? Contact us on Discord for enterprise plans with dedicated infrastructure.