Skip to content

[Application Development] How to find the closest L1 block number from L2 block number? #443

Closed Answered by opfocus
bap2pecs asked this question in Application Development
Discussion options

You must be logged in to vote

CC @sbvegan
I would like to share a preliminary observation. By examining the input data of this L2 transaction: https://sepolia-optimism.etherscan.io/tx/0x92176aca750cf02d0e23db9bb66fa941d702470d5d1d3240434b3f6f579d7685, it appears to contain information about the L1 block. The timestamps of these two blocks are very close, and I believe that every L2 block includes such a transaction

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@bap2pecs
Comment options

@sbvegan
Comment options

@bap2pecs
Comment options

@lesterli
Comment options

Answer selected by bap2pecs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app-development discussion-metrics Used by Github Action to gather discussion metrics on the question and answer section.
4 participants