Skip to content

Conversation

AllFi
Copy link
Contributor

@AllFi AllFi commented Aug 1, 2024

This PR introduces a new l2BatchMetadata endpoint, which can be used to fetch information about an L2 batch by blob height, namespace, and commitment, provided the blob contains an L2 batch. To enable this functionality, the service requires a configuration file that stores the mapping of namespaces to Blockscout instances. The service is intended to act as a proxy between Celenium and specific Blockscout instances.

The service can be run independently of the indexer. Since caching is not yet implemented, the service does not require a database.

@AllFi AllFi force-pushed the allfi/celestia-router branch from c80ffb9 to d187e09 Compare August 15, 2024 11:29
@AllFi AllFi marked this pull request as ready for review August 16, 2024 10:15
@AllFi AllFi requested a review from rimrakhimov August 16, 2024 10:18
@AllFi AllFi changed the title [DA_INDEXER] Implement l2BatchMetadata endpoint feat(da_indexer): add l2BatchMetadata endpoint Sep 9, 2024
@AllFi AllFi merged commit 6f40512 into blockscout:main Sep 9, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants