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.aiWebSocket
wss://testnet-ws.nex-t1.aiRate 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
- Run op-geth execution client
- Serve JSON-RPC API requests
- Maintain state database
- Sync with sequencer
- 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
eth_* - Ethereum JSON-RPC
eth_* - Ethereum JSON-RPC
net_* - Network Information
net_* - Network Information
web3_* - Web3 Utilities
web3_* - Web3 Utilities
debug_* - Debugging (Archive Only)
debug_* - Debugging (Archive Only)
Optimism-Specific Methods
Usage Examples
Get Sync Status
Subscribe to New Blocks
Query Event Logs
Estimate Gas with L1 Fees
Rate Limits
Free Tier
| Method Type | Limit | Notes | 
|---|---|---|
| Read Methods | 100 req/s | eth_call, eth_getBalance, etc. | 
| Write Methods | 20 req/s | eth_sendRawTransaction | 
| Logs/Filters | 10 req/s | eth_getLogs | 
| WebSocket | 100 sub | Concurrent subscriptions | 
Rate Limit Headers
Handle Rate Limits
Running Your Own RPC Node
For production applications, consider running your own RPC infrastructure:Hardware Requirements
| Component | Minimum | Recommended | 
|---|---|---|
| CPU | 4 cores | 8+ cores | 
| RAM | 16 GB | 32+ GB | 
| Storage | 500 GB SSD | 1+ TB NVMe | 
| Network | 100 Mbps | 1+ Gbps | 
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.