Skip to main content

optimism_rollupConfig RPC Method

Get the rollup configuration parameters.

Updated on
Sep 3, 2024

optimism_rollupConfig RPC Method

Parameters

This method does not accept any parameters

Returns

result
The result object with the following fields
genesis
The genesis object which contains the following fields:
l1
The l1 genesis object with the following fields:
hash
The hash of the L1 genesis block
number
The block number of the L1 genesis block
l2
The l2 genesis object with the following fields:
hash
The hash of the L2 genesis block
number
The block number of the L2 genesis block
l2_time
The timestamp associated with the L2 genesis block
system_config
The system_config object which contains the following fields:
batcherAddr
The address of the batcher
overhead
The overhead value for the system configuration
scalar
The scalar value for the system configuration
gasLimit
The gas limit for the system configuration
block_time
The time it takes to produce a block, specified in seconds
max_sequencer_drift
The maximum allowable drift for sequencers, specified in seconds
seq_window_size
The size of the sequencer window, specified in seconds
channel_timeout
The timeout duration for channels, specified in seconds
l1_chain_id
The chain ID for the L1 chain
l2_chain_id
The chain ID for the L2 chain
regolith_time
The regolith time, specified in seconds
canyon_time
The canyon time, specified in seconds
delta_time
The timestamp for delta, specified in seconds
fjord_time
The timestamp for fjord, specified in seconds
ecotone_time
The timestamp for ecotone, specified in seconds
batch_inbox_address
The address of the batch inbox
deposit_contract_address
The address of the deposit contract
l1_system_config_address
The address of the L1 system configuration
protocol_versions_address
The address of the protocol versions
da_challenge_contract_address
The address of the DA challenge contract
Request
1
curl https://docs-demo.b3-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"optimism_rollupConfig","params":[],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free