Avalanche logoAvalanche Mainnet RPC Endpoints

Avalanche Mainnet uses AVAX as its native currency. Its Chain ID is 43114 (0xa86a). Below are 5 public RPC endpoints you can use to connect wallets, dApps, and developer tools to Avalanche Mainnet.

Other Avalanche Networks:

dRPC Logo

dRPC

Decentralized RPC Network

100+ blockchain RPCs

No rate limits

For builders and traders

Connect via dRPC
BlockchainRPC URLChain IDNative CurrencyBlock ExplorerActions
Avalanche

https://avalanche.drpc.org

0xa86aAVAXhttps://snowtrace.io/
Avalanche

https://api.avax.network/ext/bc/C/rpc

0xa86aAVAXhttps://snowtrace.io/
Avalanche

https://rpc.ankr.com/avalanche

0xa86aAVAXhttps://snowtrace.io/
Avalanche

https://avalanche.api.onfinality.io/public/ext/bc/P

0xa86aAVAXhttps://snowtrace.io/
Avalanche

https://rpc.swiftnodes.io/rpc/avalanche?key=demo

0xa86aAVAXhttps://snowtrace.io/

Connect to Avalanche Mainnet with ethers.js

import { ethers } from "ethers";

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

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

Avalanche Mainnet FAQ

What is the RPC URL for Avalanche Mainnet?

There are 5 public RPC endpoints for Avalanche Mainnet, including https://avalanche.drpc.org. See the full list in the table above.

What is the Chain ID for Avalanche Mainnet?

The Chain ID for Avalanche Mainnet is 43114 (0xa86a in hexadecimal).

What is the native currency of Avalanche Mainnet?

The native currency of Avalanche Mainnet is AVAX.

How do I add Avalanche Mainnet to MetaMask?

Use the "Add to Wallet" button on this page to add Avalanche Mainnet to MetaMask automatically, or follow our step-by-step guide for Avalanche.