Abstract Mainnet
RPC EndpointsChain ID: 0xAB5 · ETH
Other Abstract networks:Testnet
Abstract Mainnet uses ETH as its native currency. Chain ID: 2741 (0xAB5). Below are 2 public RPC endpoints you can use to connect wallets, dApps, and developer tools to Abstract Mainnet.
Connect to Abstract Mainnet with ethers.js
import { ethers } from "ethers";
const provider = new ethers.JsonRpcProvider("https://api.mainnet.abs.xyz");
const network = await provider.getNetwork();
console.log(network.chainId); // 2741nAbstract Mainnet — common questions
What is the RPC URL for Abstract Mainnet?
There are 2 public RPC endpoints for Abstract Mainnet, including https://api.mainnet.abs.xyz. See the full list in the table above.
What is the Chain ID for Abstract Mainnet?
The Chain ID for Abstract Mainnet is 2741 (0xAB5 in hexadecimal).
What is the native currency of Abstract Mainnet?
The native currency of Abstract Mainnet is ETH.
How do I add Abstract Mainnet to MetaMask?
Use the "Add to Wallet" button on this page to add Abstract Mainnet to MetaMask automatically, or follow our step-by-step guide for Abstract.