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.
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.
Network | HTTPS Endpoint |
---|---|
Mainnet | https://swellchain-mainnet.infura.io/v3/YOUR_API_KEY |
To use Infura with Swellchain:
- Create an Infura account at infura.io
- Create a new API key and ensure Swellchain network is enabled for your project
- Replace
YOUR_API_KEY
in the endpoint URL with your actual Infura API key - Use this endpoint in your development environment, wallet, or dApp configuration
Examples of making requests to Swellchain via Infura:
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.
Network | HTTPS Endpoint | WSS Endpoint |
---|---|---|
Mainnet | https://swell.drpc.org | wss://swell.drpc.org |
To use dRPC with Swellchain:
- Visit dRPC website to create an account and obtain an API key
- For production use, append your API key to the endpoint URL:
https://swell.drpc.org/YOUR_API_KEY
orwss://swell.drpc.org/YOUR_API_KEY
- Use this endpoint in your development environment, wallet, or dApp configuration
Examples of making requests to Swellchain via dRPC:
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.
Network | HTTPS Endpoint | WSS Endpoint |
---|---|---|
Mainnet | https://swell-mainnet.alt.technology | wss://swell-mainnet.alt.technology/ws |
Testnet | https://swell-testnet.alt.technology | wss://swell-testnet.alt.technology/ws |
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
Network | HTTPS Endpoint | WSS Endpoint |
---|---|---|
Mainnet | https://rpc.ankr.com/swell | wss://rpc.ankr.com/swell/ws |
Testnet | https://rpc.ankr.com/swell-testnet | wss://rpc.ankr.com/swell-testnet/ws |
Examples of making requests to Swellchain via Ankr:
More information: Ankr Docs and Ankr Swellchain Documentation
You can add the network to your wallet and see additional RPC endpoints on ChainList.