The Superchain Network enables seamless interoperability between numerous Layer 2 rollups, making it a powerful ecosystem for dApps. Nodies provides fast, reliable RPC access to these networks, ensuring high uptime and scalability. In this brief guide, we will walk you through setting up your Superchain RPC on Nodies, adding it to MetaMask, and querying data with JavaScript—so you can start building instantly.
Introduction to the Superchain Ecosystem
The Superchain is a visionary initiative by Optimism to create a cohesive, interoperable ecosystem of Layer 2 (L2) blockchains. By leveraging a shared code infrastructure, the Superchain enables scalability, low fees, and seamless communication between chains, offering developers a robust environment for building decentralized applications (dApps).
This collaborative framework links multiple Layer 2 blockchains into a unified ecosystem, allowing for easy communication and interoperability. Each rollup within the Superchain shares the same codebase and infrastructure, making it easier for developers to build and scale solutions. Examples of networks within the OP Superchain include:
- Optimism: The original rollup designed for fast and low-cost Ethereum transactions.
- Base: A Coinbase-incubated rollup built on the OP Stack.
- Ink: A Layer 2 rollup built on the OP Stack by Kraken, focused on interoperability and advancing DeFi.
Why Use Nodies RPC for Superchains
Nodies provides a convenient, affordable RPC solution for interacting with various Superchain networks. Key benefits include:
- High Availability: Nodies’ infrastructure is designed for 99.9% uptime, ensuring uninterrupted access to Superchain RPCs.
- Scalability: Handle millions of requests per day with consistent performance.
- Multi-Chain Support: Effortlessly interact with OP, OP Sepolia, Base, Base Sepolia, and Ink.
- Custom Solutions: Flexible options to suit growing dApps, avoiding overage fees as your usage scales.
Whether you’re building DeFi protocols, NFT marketplaces, gaming applications, and more, Nodies ensures your dApp is fast, reliable, and Superchain-ready.
Getting Started: Creating Your Superchain RPC Endpoints on Nodies
Step 1: Sign Up for Nodies
Visit the Nodies website and create an account. Once registered, log in to your dashboard.

Step 2: Add a New Project
Create a new project. You can set up multiple projects to accommodate your workflow.

Step 3: Create a New RPC endpoint
Create a new RPC endpoint by adding a new Application within your project. You can generate as many as needed for OP, OP Sepolia, Base, Base Sepolia, Ink, and as well as many other supported networks.

Step 4: Save and Secure Your RPC endpoint URL
Securely store your endpoint in an environment variable or configuration file. You can also further secure by setting up API keys and whitelisting specific IP addresses or domains. Read more about API key management here.

Step 5: Test your RPC endpoint
Once your RPC endpoint is set up, it’s good practice to confirm it’s working correctly. The simplest way to do this is via CURL:
curl <endpoint_here> \
-X POST \
-H "Content-Type: application/json" \
-H "x-api-key: <api_key_value>" \
--data '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":1}'
Make sure to replace <endpoint_here> with your Nodies RPC endpoint URL. If you created an API key, replace <api_key_value> accordingly.
You will receive a response based on the chain you’re querying. For example, an OP endpoint will return 0xa, while OP Sepolia will return 0xaa37dc. For a full list of chains and their respective IDs, please visit chainlist.org.
Using Your Superchain RPC Endpoint
Your Superchain RPC endpoint(s) can now be used seamlessly across wallets, dApps, and development frameworks. Below, we’ll provide two simple examples:
1. Adding Your RPC Endpoint to MetaMask
Step 1: Open MetaMask and click the network dropdown. Then select the network you want to edit

Step 2: Under Default RPC URL, Select “Add RPC URL”

Step 3: Add your newly created RPC endpoint URL.

Step 4: Save all changes, and Done. You are now using Nodies RPC on Metamask!
2. Retrieve data from your RPC endpoint using JavaScript
Use the following JavaScript example to query your Nodies RPC endpoint and retrieve the latest block number for your chosen chain:
import Web3 from 'web3';
// Define web3 client with API key in headers
const client = new Web3(new Web3.providers.HttpProvider('<endpoint_here>', {
headers: {
"x-api-key": "<api-key-value>"
}
}));
// Query for the latest block number
async function getLatestBlockNumber() {
try {
const blockNumber = await client.eth.getBlockNumber(); // Correct API method: eth_blockNumber
console.log(`Latest Block Number: ${blockNumber}`);
} catch (error) {
console.error("Error fetching block number:", error);
}
}
// Run the function
getLatestBlockNumber();
Make sure to replace <endpoint_here> with your Nodies RPC endpoint URL. If you created an API key, replace <api_key_value> accordingly.
Get Started
The Superchain Ecosystem is reshaping Ethereum scaling, and Nodies is proud to be at the forefront, providing fast, reliable RPC infrastructure for Optimism, Base, Ink, and more. With high uptime, scalability, and seamless integration, Nodies helps ensure your dApps run smoothly. Get started today—sign up on Nodies and build with confidence!
