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

feat: modify fee rate fetching by adding complex logic #47

Merged
merged 7 commits into from
Dec 17, 2024

Conversation

Polybius93
Copy link
Collaborator

This PR updates the fee rate fetching logic to avoid relying solely on the fee estimation endpoint as the source of truth. Instead, it retrieves the fee rates for the next block and the previous two blocks, calculates their average, and returns the higher value between the estimation and the three-block average.

sosaucily
sosaucily previously approved these changes Dec 16, 2024
sosaucily
sosaucily previously approved these changes Dec 16, 2024
@Polybius93 Polybius93 merged commit ccdc7bd into main Dec 17, 2024
5 checks passed
@Polybius93 Polybius93 deleted the feat/modified-fee-rate branch December 17, 2024 09:03
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.

3 participants