Swellchain LogoSwellchain

RPC Providers

Available RPC endpoints for Swellchain

RPC Provider

To connect to Swellchain, you can use the following RPC providers. Please note that some of these providers require an API key, and differ in their usage of HTTPS and WSS endpoints.

  1. Infura RPC
  2. dRPC
  3. AltLayer RPC
  4. Ankr RPC

Infura RPC

Infura provides access to Swellchain through its Decentralized Infrastructure Network (DIN) service, which routes calls to partner infrastructure providers rather than hosting the nodes directly. This helps maintain network decentralization while providing reliable access.

To use Infura with Swellchain:

  1. Create an Infura account at infura.io
  2. Create a new API key and ensure Swellchain network is enabled for your project
  3. Replace YOUR_API_KEY in the endpoint URL with your actual Infura API key
  4. Use this endpoint in your development environment, wallet, or dApp configuration

Examples of making requests to Swellchain via Infura:

curl https://swellchain-mainnet.infura.io/v3/YOUR_API_KEY \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "method": "eth_blockNumber", "params": [], "id": 1}'

More information: Infura Swellchain Documentation


dRPC

dRPC is a decentralized RPC provider that aggregates multiple backend providers into a single endpoint, offering enhanced reliability through distributed infrastructure. It features an AI-driven load balancer that routes requests to the most optimal nodes based on performance, latency, and availability.

NetworkHTTPS EndpointWSS Endpoint
Mainnethttps://swell.drpc.orgwss://swell.drpc.org

To use dRPC with Swellchain:

  1. Visit dRPC website to create an account and obtain an API key
  2. For production use, append your API key to the endpoint URL: https://swell.drpc.org/YOUR_API_KEY or wss://swell.drpc.org/YOUR_API_KEY
  3. Use this endpoint in your development environment, wallet, or dApp configuration

Examples of making requests to Swellchain via dRPC:

curl https://swell.drpc.org \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

For production environments, append your API key to the endpoint URL (e.g., https://swell.drpc.org/YOUR_API_KEY). The examples above use the public endpoint for simplicity.

More information: dRPC Docs


AltLayer RPC

AltLayer provides RPC endpoints for Swellchain as part of their rollup infrastructure services.

NetworkHTTPS EndpointWSS Endpoint
Mainnethttps://swell-mainnet.alt.technologywss://swell-mainnet.alt.technology/ws
Testnethttps://swell-testnet.alt.technologywss://swell-testnet.alt.technology/ws
curl https://swell-mainnet.alt.technology \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

More information: AltLayer Docs | Swellchain on AltLayer


Ankr RPC

Ankr offers multiple service tiers:

  • Free Plan: 30 requests/second, HTTPS connections, community support
  • Premium Plans: Higher rate limits, HTTPS/WSS connections, priority support
NetworkHTTPS EndpointWSS Endpoint
Mainnethttps://rpc.ankr.com/swellwss://rpc.ankr.com/swell/ws
Testnethttps://rpc.ankr.com/swell-testnetwss://rpc.ankr.com/swell-testnet/ws

Examples of making requests to Swellchain via Ankr:

curl https://rpc.ankr.com/swell \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

More information: Ankr Docs and Ankr Swellchain Documentation

You can add the network to your wallet and see additional RPC endpoints on ChainList.

On this page