Solana logo

Solana Mainnet

RPC Endpoints

Chain ID: 900 · SOL

Other Solana networks:TestnetDevnet
How to add Solana to MetaMask or other wallets

Solana Mainnet uses SOL as its native currency. Chain ID: 2304 (900). Below are 4 public RPC endpoints you can use to connect wallets, dApps, and developer tools to Solana Mainnet.

StatusRPC EndpointChain IDCurrencyExplorerWallet
Checking
https://solana.drpc.org
900SOLExplorer
Checking
https://rpc.ankr.com/solana
900SOLExplorer
Checking
https://api.mainnet-beta.solana.com
900SOLExplorer
Checking
https://solana-mainnet.gateway.tatum.io
900SOLExplorer

Connect to Solana Mainnet with ethers.js

import { ethers } from "ethers";

const provider = new ethers.JsonRpcProvider("https://solana.drpc.org");

const network = await provider.getNetwork();
console.log(network.chainId); // 2304n

Solana Mainnet — common questions

What is the RPC URL for Solana Mainnet?
There are 4 public RPC endpoints for Solana Mainnet, including https://solana.drpc.org. See the full list in the table above.
What is the Chain ID for Solana Mainnet?
The Chain ID for Solana Mainnet is 2304 (900 in hexadecimal).
What is the native currency of Solana Mainnet?
The native currency of Solana Mainnet is SOL.
How do I add Solana Mainnet to MetaMask?
Use the "Add to Wallet" button on this page to add Solana Mainnet to MetaMask automatically, or follow our step-by-step guide for Solana.