optimism_rollupConfig RPC Method
Parameters
This method does not accept any parameters
Returns
result
object
The result object with the following fields
genesis
object
The genesis object which contains the following fields:
l1
string
The l1 genesis object with the following fields:
hash
string
The hash of the L1 genesis block
number
integer
The block number of the L1 genesis block
l2
object
The l2 genesis object with the following fields:
hash
string
The hash of the L2 genesis block
number
integer
The block number of the L2 genesis block
l2_time
integer
The timestamp associated with the L2 genesis block
system_config
object
The system_config object which contains the following fields:
batcherAddr
string
The address of the batcher
overhead
string
The overhead value for the system configuration
scalar
string
The scalar value for the system configuration
gasLimit
integer
The gas limit for the system configuration
eip1559Params
string
The EIP 1559 parameter value
block_time
integer
The time it takes to produce a block, specified in seconds
max_sequencer_drift
integer
The maximum allowable drift for sequencers, specified in seconds
seq_window_size
integer
The size of the sequencer window, specified in seconds
channel_timeout
integer
The timeout duration for channels, specified in seconds
l1_chain_id
integer
The chain ID for the L1 chain
l2_chain_id
integer
The chain ID for the L2 chain
regolith_time
integer
The regolith time, specified in seconds
canyon_time
integer
The canyon time, specified in seconds
delta_time
integer
The timestamp for delta, specified in seconds
ecotone_time
integer
The timestamp for ecotone, specified in seconds
fjord_time
integer
The timestamp for fjord, specified in seconds
ecotone_time
integer
The timestamp for ecotone, specified in seconds
batch_inbox_address
string
The address of the batch inbox
deposit_contract_address
string
The address of the deposit contract
l1_system_config_address
string
The address of the L1 system configuration
protocol_versions_address
string
The address of the protocol versions
da_challenge_address
string
(Optional) The address of the DA challenge
Request
1curl https://docs-demo.worldchain-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