0

Anyone know how curve fi and metamask fetch the average gas price for the transaction and how they provide the slow and fast option? I just want to know which third party they use to get these info.

0

I think you can find the answer in following link

It seems like they use a binary search to calculate estimated gas based on the opcodes.

2
  • The link is about estimating the gas limit, not the gas price.
    – Morten
    Jan 5 '21 at 16:25
  • I was asking about gas price not limit, I know we can get it using web3 also but I guess web3 only give the average price so I just want to know how they give the fast and slow option Jan 6 '21 at 5:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.