Closed chimera-defi closed 11 months ago
Getting live gas prices now...
@chimera-defi Let me know if we want to modify the multipliers?
low: lowGasPrice, // Here we're assuming low is 80% of the current gas price but a min of 2100wei.
medium: gasPriceInGwei,
high: gasPriceInGwei * 1.2, // Here we're assuming high is 120% of the current gas price.
tip: {
low: 1, // Adjust these priority fees as you see fit.
medium: 2,
high: 5,
},
We currently use gasnow, a now defunct api to fetch gas prices for users. This is not used everywher, just on the stake page. The impl is in common.js and needs to be updated to :