-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
About Fee Limit Estimation #6154
Comments
Indeed, using the last call to the same function would provide a more accurate estimation of the transaction fee limit. The problem with using just the last transaction is that different functions have varying complexities, and different parameters can lead to different consumption levels, making it unable to reflect actual resource requirements.
In my own opinion, mathematical relationship between last transaction and fee limit: EstimatedFeeLimit = LastEnergyConsumption × Buffer × EnergyPrice × UserBearingRatio Where:
|
Thx for your reply. What does Buffer and UserBearingRatio mean here? |
Below is an introduction about fee limit estimation from official tutorial
I have 2 questions:
The text was updated successfully, but these errors were encountered: