# Swellchain RPC Node  
Restaking-Native Layer 2

Connect to Swellchain, the Layer 2 built for liquid staking and restaking. Experience seamless integration with Swell's $1.5B+ liquid staking protocol on Optimism Superchain.

[Documentation](https://docs-rpc.crypto-chief.com/chains/swell) [Get a free endpoint ](https://auth.crypto-chief.com/registration)

##### 2 M+

Requests per Day

##### 99.9 %

Network Uptime

##### < 100 ms

Average Response Time

##### 24/7

Technical Support

## Specification Swellchain Network

Technical characteristics and available endpoints

![Swellchain (ETH on L2)](/img/protocols/swell.svg)

### Swellchain (ETH on L2)

Mainnet — Optimism Superchain

Chain ID 1923

Protocol HTTPS / WSS

Uptime 99.9%

Block Time \~2s

Consensus Optimistic Rollup (OP Stack)

EVM Compatible Yes

Swellchain is a purpose-built Layer 2 on the Optimism Superchain, designed specifically for restaking and liquid staking use cases. Built by Swell Network, a leading liquid staking protocol with $1.5B+ TVL, Swellchain brings native restaking infrastructure, seamless swETH integration, and DeFi-optimized features to a high-performance Layer 2 environment.

#### Key capabilities:

- Built on Optimism Superchain with OP Stack technology
- Native integration with Swell liquid staking ($1.5B+ TVL)
- Restaking-focused infrastructure and primitives
- EigenLayer integration for restaking operations
- Transaction fees paid in swETH (liquid staked ETH)
- Optimized for DeFi protocols leveraging restaking
- Full EVM compatibility with Ethereum tooling
- Low fees and fast finality through OP Stack

#### 🔗 RPC Endpoints

HTTPS

`https://rpc.crypto-chief.com/swell/{YOUR_API_KEY}`

WSS

`wss://rpc.crypto-chief.com/swell/ws/{YOUR_API_KEY}`

Replace {YOUR\_API\_KEY} with your actual API key from the dashboard.

## What is a Swellchain RPC Node?

Access the restaking-native Layer 2

A Swellchain RPC node provides applications with access to Swell's restaking-optimized Layer 2, enabling liquid staking operations, restaking protocols, and DeFi applications leveraging Swell's infrastructure. Built on the Optimism Superchain, Swellchain combines proven Layer 2 technology with innovative restaking primitives.

### Why Swellchain matters

Swellchain is the first Layer 2 purpose-built for restaking, bringing together Swell's liquid staking expertise with scalable Layer 2 infrastructure. By enabling native swETH operations and EigenLayer restaking on a high-performance chain, Swellchain creates a new category of DeFi applications focused on maximizing staking yields.

**Swellchain advantages:**

- **Restaking native** — built specifically for restaking use cases
- **Swell integration** — seamless swETH and liquid staking
- **EigenLayer support** — native restaking infrastructure
- **OP Stack** — proven Optimism technology
- **Low fees** — gas payable in swETH
- **DeFi optimized** — designed for yield strategies

### Liquid staking & restaking

**Liquid staking** allows users to stake ETH while maintaining liquidity through tokens like swETH (Swell ETH). **Restaking** (pioneered by EigenLayer) lets users stake their already-staked ETH to secure additional protocols, earning multiple layers of yield.

Swellchain brings both concepts together on a scalable Layer 2, enabling complex yield strategies impossible on Ethereum mainnet due to gas costs.

**Swellchain architecture:**

1. Built on OP Stack (Optimism Superchain)
2. Native swETH integration for liquid staking
3. EigenLayer restaking infrastructure
4. Optimistic rollup security from Ethereum
5. Cross-chain messaging via Superchain

### Optimism Superchain

Swellchain is part of the Optimism Superchain — a network of interoperable OP Stack chains. This provides Swellchain with standardized bridging, shared security, and cross-chain communication with other Superchain networks like Base, Optimism, and Mode.

## Technical Documentation

Quick start for developers

### Supported RPC Methods

Swellchain supports all standard Ethereum JSON-RPC methods as it's fully EVM-compatible:

- **eth\_blockNumber** — current block number
- **eth\_getBalance** — ETH/swETH balance
- **eth\_call** — call contract functions
- **eth\_sendRawTransaction** — broadcast transactions
- **eth\_getTransactionReceipt** — transaction confirmation
- **eth\_getLogs** — event logs
- **eth\_gasPrice** — current gas price
- **eth\_estimateGas** — gas estimation
- **eth\_subscribe** — WebSocket subscriptions

### Code Examples

💻

#### JavaScript (ethers.js) — Swellchain Connection:

```
const { ethers } = require('ethers');

const provider = new ethers.JsonRpcProvider('https://rpc.crypto-chief.com/swell/YOUR_API_KEY');

// Verify we're on Swellchain
const network = await provider.getNetwork();
console.log('Chain ID:', network.chainId); // 1923

// Get ETH balance
const balance = await provider.getBalance('0x...');
console.log('Balance:', ethers.formatEther(balance), 'ETH');

// Interact with swETH on Swellchain
const SWETH_ADDRESS = '0x...';
const swethABI = ['function balanceOf(address) view returns (uint256)'];
const sweth = new ethers.Contract(SWETH_ADDRESS, swethABI, provider);
const swethBalance = await sweth.balanceOf('0x...');
console.log('swETH:', ethers.formatEther(swethBalance));
```

💻

#### Python (web3.py) — Swellchain Setup:

```
from web3 import Web3

w3 = Web3(Web3.HTTPProvider('https://rpc.crypto-chief.com/swell/YOUR_API_KEY'))

print('Connected:', w3.is_connected())
print('Chain ID:', w3.eth.chain_id)  # 1923
print('Latest block:', w3.eth.block_number)
print('Gas price:', w3.eth.gas_price)
```

💻

#### WebSocket — Monitor Swellchain Activity:

```
const { ethers } = require('ethers');
const provider = new ethers.WebSocketProvider('wss://rpc.crypto-chief.com/swell/ws/YOUR_API_KEY');

// Monitor new blocks
provider.on('block', async (blockNumber) => {
  console.log('New Swellchain block:', blockNumber);
});

// Monitor swETH transfers
const SWETH_ADDRESS = '0x...';
const filter = {
  address: SWETH_ADDRESS,
  topics: [ethers.id('Transfer(address,address,uint256)')]
};

provider.on(filter, (log) => {
  console.log('swETH transfer:', log);
});
```

### Swellchain Best Practices

- **swETH Integration:** Leverage native swETH for gas payments
- **Restaking Protocols:** Build on EigenLayer integration
- **OP Stack:** Use standard Optimism tooling and bridges
- **Yield Strategies:** Optimize for restaking yield combinations
- **Cross-chain:** Leverage Superchain messaging for multi-L2 apps
- **Testing:** Test thoroughly before mainnet deployment

## Why choose us?

Restaking-optimized infrastructure

### Fast Performance

Optimized infrastructure delivering &lt;75ms latency with OP Stack technology and efficient state access.

### Secure & Reliable

Enterprise-grade security with 99.9% uptime leveraging proven Optimism rollup technology.

### Restaking Analytics

Monitor swETH operations, restaking activities, yield metrics, and DeFi protocol interactions.

### Global Access

Strategically deployed nodes ensuring low latency for DeFi users and protocols worldwide.

### Auto-Scaling

Infrastructure scales with Swellchain's growing DeFi ecosystem handling increasing transaction volumes.

### DeFi Support

24/7 support from engineers familiar with liquid staking, restaking, and OP Stack development.

## Examples of Use

Build restaking applications on Swellchain

Swellchain's restaking-native infrastructure enables DeFi protocols focused on maximizing yield through liquid staking and EigenLayer restaking strategies.

#### Restaking Protocols

Build protocols leveraging EigenLayer restaking on Swellchain. Create AVS (Actively Validated Services) and yield optimization strategies with native swETH support.

#### Yield Aggregators

Launch yield aggregators combining liquid staking yields with restaking rewards. Optimize complex yield strategies on low-fee infrastructure.

#### Liquid Staking DeFi

Create DeFi protocols using swETH as collateral — lending markets, leveraged staking, derivatives. Swellchain's native integration makes this seamless.

#### Staking Wallets

Build wallet applications focused on liquid staking and restaking. Our infrastructure ensures smooth swETH operations and yield tracking.

#### Analytics Platforms

Create dashboards tracking restaking yields, swETH performance, and Swellchain ecosystem metrics for investors and protocols.

#### Cross-Chain Restaking

Leverage Superchain messaging to build cross-L2 restaking applications connecting Swellchain with other OP Stack chains.

## Got questions?  
we are here to help

## What is Swellchain? 

Swellchain is a Layer 2 on Optimism Superchain built specifically for restaking and liquid staking, developed by Swell Network ($1.5B+ liquid staking TVL).

## What is restaking? 

Restaking allows staked ETH to secure additional protocols (via EigenLayer), earning multiple layers of yield. Swellchain provides native infrastructure for this.

## What is swETH? 

swETH is Swell's liquid staking token representing staked ETH. It accrues staking rewards while remaining liquid and usable in DeFi.

## Is Swellchain part of Optimism? 

Yes, Swellchain is built on the OP Stack and is part of the Optimism Superchain, benefiting from shared security and cross-chain messaging.

## Can I pay gas in swETH? 

Yes, Swellchain supports paying transaction fees in swETH in addition to ETH, making it convenient for liquid staking users.

## How does Swellchain integrate with EigenLayer? 

Swellchain provides native infrastructure for EigenLayer restaking, allowing protocols to build AVS (Actively Validated Services) and restaking strategies.

## Is Swellchain EVM compatible? 

Yes, Swellchain is fully EVM-compatible. Deploy Ethereum smart contracts using standard tools like Hardhat, Foundry, and Remix.

## How do I bridge to Swellchain? 

Use the official Swellchain bridge or Optimism Superchain bridges to transfer assets from Ethereum or other OP Stack chains.

## What are the transaction fees? 

Swellchain transaction fees are significantly lower than Ethereum mainnet, typical of OP Stack L2s, usually under $0.10.

## Do you support Swellchain testnet? 

We provide RPC access to Swellchain mainnet. Check Swell's documentation for testnet information and resources.

## Pricing that grows with your needs.

### Free

Start building on Web3 — no credit card.

##### $0

- 5 reqs/sec RPC
- 5 reqs/min Unified API
- 1 req/day AML
- Ultimate chains
- WSS, Statistics
- Community support

[Get started ](https://auth.crypto-chief.com/registration)

### Pay for use

Flexible pay-as-you-go for any workload.

##### From $10

- 400 reqs/sec RPC
- 300 reqs/min Unified API
- 5 reqs/sec AML
- EventStream
- Ultimate chains
- WSS, Whitelists, Statistics
- Support portal

[Get started](https://auth.crypto-chief.com/registration)

### Subscription

From $500 monthly plus 20% extra value.

##### From $500

- 400 reqs/sec RPC
- 300 reqs/min Unified API
- 5 reqs/sec AML
- EventStream
- Ultimate chains
- WSS, Whitelists, Statistics
- Support portal

[Get started ](https://auth.crypto-chief.com/registration)

### Enterprise

Tailored solution for expert builders

##### Custom terms

All Subscription features plus:

- Flexible rate limits
- Engineering team support
- Custom SLA
- Personal manager

[Contact Sales ](/contact/)
