Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch live blobBaseFee from OP Stack GasPriceOracle #222

Merged
merged 2 commits into from
Mar 30, 2024

Conversation

cgewecke
Copy link
Owner

@cgewecke cgewecke commented Mar 30, 2024

Closes #217

Begins reading blobBaseFee from optimism's GasPriceOracle contracts now that it's not fake. At some point (when it becomes available from the Etherscan APIs) we should probably try to hit the eth_blobBaseFee endpoint instead since it doesn't require an API key.

Defaulting to 10 gwei if the call fails.

@cgewecke cgewecke merged commit 5c17386 into master Mar 30, 2024
3 checks passed
@cgewecke cgewecke deleted the fetch-blob-base-fee branch March 30, 2024 18:46
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.

Fetch blobBaseFee dynamically / query Optimism GasOracle for scalars
1 participant