optimism_rollupConfig

Returns the rollup parameters configuration.

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 in UNIX timestamp format.
      • 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.
Language
Authorization
Header
Click Try It! to start a request and see the response here!