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

Tipcap calculation #16282

Open
kolesnevg opened this issue Feb 7, 2025 · 0 comments
Open

Tipcap calculation #16282

kolesnevg opened this issue Feb 7, 2025 · 0 comments

Comments

@kolesnevg
Copy link

Hi,

I'm trying to develop various trading strategies, and a crucial element of this strategy is predicting the commission parameters that the oracle pays when creating a transaction to update prices on the Base network. The key parameter here is tipCap.

Based on the source code of block_history_estimator.go, tipCap is calculated as the value that is greater than X% of transactions over Y blocks. This rule works in about 50% of cases, but for example, for block 25961829, it doesn't seem to work—the actual value is slightly lower than what my algorithm predicts.

Could you please advise what other factors might influence this calculation?

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

No branches or pull requests

1 participant