mev-commit icon indicating copy to clipboard operation
mev-commit copied to clipboard

Oracle: use WS instead of HTTP to get L1 blocks

Open Mikelle opened this issue 8 months ago • 2 comments

Currently, we are using a ticker to get new L1 blocks using an HTTP connection. It's not efficient and could confuse people, who are relying on 12s block timeframe.

Instead, we could subscribe to the headers: https://goethereumbook.org/block-subscribe/

Mikelle avatar Jun 19 '24 23:06 Mikelle