In this section, the code examples demonstrate loading the rollup config for the given L2 Chain ID. Let’s load the Rollup Config for OP Mainnet which hash chain id 10.Documentation Index
Fetch the complete documentation index at: https://docs.optimism.io/llms.txt
Use this file to discover all available pages before exploring further.
Available Configskona-registry dynamically provides all rollup configs
from the superchain-registry for their respective chain ids.
Note though, that this requires
serde since it deserializes the rollup
configs dynamically from json files.