[FEATURE] Minimum GasAdjustment API #183
Replies: 1 comment 1 reply
-
To be honest I have been wondering a bit about some of these "out-of-gas" errors where the user almost has enough gas, but not quiet, and here is my take on it:
|
Beta Was this translation helpful? Give feedback.
-
Problem definition
Can we have a minimum GasAdjustment (recommended value) that dApps can pull from the API, which will basically allow them to adjust the gas calculated to make sure that GasFees for the transaction always work. But it's a value that comes from the blockchain, and the chain is telling them how much the gas adjustment needs to be for a successful transaction (always).
Because of the BurnTax for LUNC, users have to pay more, however sometimes the GasAdjustment (even if set to 2), it doesn't work. There's not enough Gas.
I have to manually set the Gas Adjustment to 3, to make sure the transaction always works, 2.5 is pushing it.
Beta Was this translation helpful? Give feedback.
All reactions