This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| GENESIS_TIME = 1606824000 + 23 | |
| # https://raw.githubusercontent.com/remyroy/ethstaker/main/MEV-relay-list.md | |
| relay_list = [ | |
| ("Aestus", "https://aestus.live"), | |
| ("Agnostic Gnosis", "https://agnostic-relay.net"), | |
| ("Blocknative", "https://builder-relay-mainnet.blocknative.com"), | |
| ("bloXroute Ethical", "https://bloxroute.ethical.blxrbdn.com"), |
We can't make this file beautiful and searchable because it's too large.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 12965000,1000000000 | |
| 12965001,1124967822 | |
| 12965002,1265451421 | |
| 12965003,1423420054 | |
| 12965004,1601260312 | |
| 12965005,1801194152 | |
| 12965006,2026211870 | |
| 12965007,2279324154 | |
| 12965008,2563965901 | |
| 12965009,2884437784 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| FILE_NAME = "base_fee.csv" | |
| LONDON_FORK_BLOCK = 12_965_000 | |
| session = requests.Session() | |
| headers = {"Content-type": "application/json"} | |
| # Get latest block number from Geth | |
| response = session.post( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import json | |
| import math | |
| from datetime import datetime, timedelta | |
| import requests | |
| SLOTS_PER_EPOCH = 32 | |
| SECONDS_PER_SLOT = 12 |