Networks, Public RPC Endpoints, & APIs
Note
Some API calls, such as those in the personal namespace (opens new window) make no sense in a shared environment. Such RPCs are either totally unsupported, or will return nonsensical values.
# OP Mainnet
Parameter | Value |
---|---|
Network Name | Optimism |
Description | Mainnet |
Chain ID | 10 |
Explorer | https://explorer.optimism.io (opens new window) |
HTTP Endpoint | Optimism also provides this endpoint: https://mainnet.optimism.io . But it is not for production systems and is rate limited. |
Sequencer URL1 | https://mainnet-sequencer.optimism.io/ |
L1 Contract Addresses | link (opens new window) |
L2 Contract Addresses | link (opens new window) |
chainid.link | https://chainid.link/?network=optimism (opens new window) |
(1) The sequencer URL is write only, it only accepts eth_sendRawTransaction
requests.
Developer Tip
If you are seeing rate limit issues when testing with the public end point, or if you need websocket functionality, we recommend signing up for a third-party provider.
# Contract addresses
The authoritative list of contract addresses is in the monorepo (opens new window). They are reproduced here for convenience.
Contract name | Address |
---|---|
L1CrossDomainMessenger | 0x25ace71c97B33Cc4729CF772ae268934F7ab5fA1 (opens new window) |
L1ERC721Bridge | 0x5a7749f83b81B301cAb5f48EB8516B986DAef23D (opens new window) |
L1StandardBridge | 0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1 (opens new window) |
L2OutputOracle | 0xdfe97868233d1aa22e815a266982f2cf17685a27 (opens new window) |
OptimismMintableERC20Factory | 0x75505a97BD334E7BD3C476893285569C4136Fa0F (opens new window) |
OptimismPortal | 0xbEb5Fc579115071764c7423A4f12eDde41f106Ed (opens new window) |
PortalSender | 0x0A893d9576b9cFD9EF78595963dc973238E78210 (opens new window) |
ProxyAdmin | 0x543bA4AADBAb8f9025686Bd03993043599c6fB04 (opens new window) |
SystemConfig | 0x229047fed2591dbec1eF1118d64F7aF3dB9EB290 (opens new window) |
SystemDictator | 0xB4453CEb33d2e67FA244A24acf2E50CEF31F53cB (opens new window) |
Batch Inbox Address | 0xff00000000000000000000000000000000000010 (opens new window) |
# Parameters for node operators
These parameters are mostly useful to people responsible for running and administering network nodes.
Parameter | Value |
---|---|
L1 Chain ID | 1 |
Rollup Config | This network does not require a rollup config. Specify --network=mainnet on the command line |
Withdrawal period | 1 week |
# Links
Tips
Links to download data directories will be posted here as soon as they are available.
- Bedrock Data Directory (303 GB)1 (opens new window).
The
sha512sum
for this file isc17067b7bc39a6daa14f71d448c6fa0477834c3e68a25e96f26fe849c12a09bffe510e96f7eacdef19e93e3167d15250f807d252dd6f6f9053d0e4457c73d5fb
. - Legacy Geth Data Directory (2.9TB)1 (opens new window).
The
sha512sum
for this file ise348488c458baa755510f23bbc8601619bc66bea78a89354c949ba7be3c6b39ed7dd2c50516621e38df6120299407da0d24445b96bf94a50364ed07bb8234b26
. Note that you only need this file if you runl2geth
to answer archive queries prior to the bedrock upgrade. If you are running an archive only for post-bedrock transactions (usingop-geth
with the command line flaggcmode=archive
), you do not need this file. - Configuration parameters (opens new window).
- Latest release of
op-geth
(opens new window) - Latest release of
op-node
(opens new window) - you need to scroll down until you get a release that hasop-node
in it. - Legacy geth (opens new window).
(1) This file is compressed with zstd
.
We recommend that users install the command line tool if it is not already installed on their system.
tar -xf
will work without installing anything if you have an up to date version of tar
.
If you want to decompress separately, we recommend pzstd -d
or zstd -d
(pzstd will likely be faster).
# OP Goerli
Purpose
This is our current test network. Note that OP Goerli is planned to be deprecated in Q4 2023. Please migrate to OP Sepolia before then.
Parameter | Value |
---|---|
Network Name | Optimism Goerli |
Description | Testnet (public) |
Chain ID | 420 |
Explorer | https://goerli-explorer.optimism.io (opens new window) |
HTTP Endpoint | https://goerli.optimism.io |
Sequencer URL1 | https://goerli-sequencer.optimism.io/ |
chainid.link | https://chainid.link/?network=optimism-goerli (opens new window) |
(1) The sequencer URL is write only, it only accepts eth_sendRawTransaction
requests.
# Contract addresses
The authoritative list of contract addresses is in the monorepo (opens new window). They are reproduced here for convenience
Contract name | Address |
---|---|
L1CrossDomainMessenger | 0x5086d1eEF304eb5284A0f6720f79403b4e9bE294 (opens new window) |
L1ERC721Bridge | 0x0F9C590b958002E8B10a7431979c1aF882772E88 (opens new window) |
L1StandardBridge | 0x636Af16bf2f682dD3109e60102b8E1A089FedAa8 (opens new window) |
L2OutputOracle | 0xE6Dfba0953616Bacab0c9A8ecb3a9BBa77FC15c0 (opens new window) |
OptimismMintableERC20Factory | 0x883dcF8B05364083D849D8bD226bC8Cb4c42F9C5 (opens new window) |
OptimismPortal | 0x5b47E1A08Ea6d985D6649300584e6722Ec4B1383 (opens new window) |
PortalSender | 0xe7FACd39531ee3C313330E93B4d7a8B8A3c84Aa4 (opens new window) |
ProxyAdmin | 0x01d3670863c3F4b24D7b107900f0b75d4BbC6e0d (opens new window) |
SystemConfig | 0xAe851f927Ee40dE99aaBb7461C00f9622ab91d60 (opens new window) |
SystemDictator | 0x1f0613A44c9a8ECE7B3A2e0CdBdF0F5B47A50971 (opens new window) |
Batch Inbox Address | 0xff00000000000000000000000000000000000420 (opens new window) |
# Test ETH
If you already have Goerli ETH, you can bridge it (opens new window). For more faucet options see Network Faucets.
# Parameters for node operators
These parameters are mostly useful to people responsible for running and administering network nodes.
Parameter | Value |
---|---|
L1 Chain ID | 5 |
Rollup Config | This network does not require a rollup config. Specify --network=goerli on the command line |
Withdrawal period | 12 seconds |
# Links
- Bedrock Data Directory (5.0GB)1 (opens new window).
The
sha512sum
for this file is7d420ddf34ee5b157d60cf7a9612cb950b24ff1405e1ab944f8d7910c45e7a46907bdb86ea124a8069b15ad9e171776ab5f8ed0146c43b0ff12539f38f262f7d
. - Legacy Geth Data Directory (50GB)1 (opens new window).
The
sha512sum
for this file is5d78c1f2cd5bea062fb979b9d616a5fe4c55b27a444812b91a90340631d7a5f750c4e6e5a352513f3cf102d61586a4e2861f1aa3827e5be8fcae01e2ec291d2a
. Note that you only need this file if you runl2geth
to answer archive queries prior to the bedrock upgrade. If you are running an archive only for post-bedrock transactions (usingop-geth
with the command line flaggcmode=archive
), you do not need this file. - Configuration parameters (opens new window)
- Latest releases of
op-geth
(opens new window) - Latest release of
op-node
(opens new window) - you need to scroll down until you get a release that hasop-node
in it. - Legacy geth (opens new window)
(1) This file is compressed with zstd
.
We recommend that users install the command line tool if it is not already installed on their system.
tar -xf
will work without installing anything if you have an up to date version of tar
.
If you want to decompress separately, we recommend pzstd -d
or zstd -d
(pzstd will likely be faster).
# OP Sepolia
Purpose
This is our latest test network. Note that OP Sepolia is new and still missing some core third-party infra.
Parameter | Value |
---|---|
Network Name | OP Sepolia |
Description | Testnet (public) |
Chain ID | 11155420 |
Explorer | https://optimism-sepolia.blockscout.com/ (opens new window) |
HTTP Endpoint | https://sepolia.optimism.io |
Sequencer URL1 | https://sepolia-sequencer.optimism.io/ |
(1) The sequencer URL is write only, it only accepts eth_sendRawTransaction
requests.
# Contract addresses
The authoritative list of contract addresses is in the monorepo (opens new window). They are reproduced here for convenience
Contract name | Address |
---|---|
L1CrossDomainMessenger | 0x58Cc85b8D04EA49cC6DBd3CbFFd00B4B8D6cb3ef (opens new window) |
L1ERC721Bridge | 0xd83e03D576d23C9AEab8cC44Fa98d058D2176D1f (opens new window) |
L1StandardBridge | 0xFBb0621E0B23b5478B630BD55a5f21f67730B0F1 (opens new window) |
L2OutputOracle | 0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F (opens new window) |
OptimismMintableERC20Factory | 0x868D59fF9710159C2B330Cc0fBDF57144dD7A13b (opens new window) |
OptimismPortal | 0x16Fc5058F25648194471939df75CF27A2fdC48BC (opens new window) |
ProxyAdmin | 0x189aBAAaa82DfC015A588A7dbaD6F13b1D3485Bc (opens new window) |
SystemConfig | 0x034edD2A225f7f429A63E0f1D2084B9E0A93b538 (opens new window) |
Batch Inbox Address | 0xff00000000000000000000000000000011155420 (opens new window) |
# Test ETH
If you already have Sepolia ETH, you can deposit it by sending it to the Optimism Portal on L1 Sepolia (0x16Fc5058F25648194471939df75CF27A2fdC48BC
). To get L1 Sepolia ETH, check out our faucet options in Network Faucets.
We are still building out Sepolia support in our Bridge UI (opens new window).
# Parameters for node operators
These parameters are mostly useful to people responsible for running and administering network nodes.
Parameter | Value |
---|---|
L1 Chain ID | 11155111 |
Rollup Config | This network does not require a rollup config. Specify --network=sepolia on the command line |
Withdrawal period | 12 seconds |
# Links
- Note that there is no Bedrock Data Directory or Legacy Geth Data Directory required for running OP Sepolia nodes
- Configuration parameters (opens new window)
- Genesis.json File (opens new window)
- Latest releases of
op-geth
(opens new window) - Latest release of
op-node
(opens new window) - Note: Unlike on OP Mainnet or OP Goerli, you do not need to run
legacy-geth
to run an archival OP Sepolia node.