Replies: 2 comments 1 reply
-
The So, Make sense? :) |
Beta Was this translation helpful? Give feedback.
-
Yes! It makes perfect sense! Thank you!!! :) :) waitForTransaction works great but it is returning after only 1 confirmation, which does the job as far as getting the transaction info do I need to be concerned that there maybe a fork or some such thing in the network and that the transaction may be reverted? In other words, do I need to wait for 14 confirmations to be sure (this is part of an accounting system so users will get impacted if the system assumes the transaction has finality whereas in reality it may revert. is there a way using this gem of a library (ethers) to wait for N conformations given the tx hash? I know how it's done in web3js but I'm trying to stick to ethers... Thank you so much! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Suggestion
Hi,
I'm executing a meta transaction using EIP-3009 with an ERC20 smart contract.
I'm doing this:
and the transaction is succeeding and I get this:
When I convert gasUsed to decimal it makes no sense. I can see my ETH balance in the delegated wallet go down by just over $2 after the above transaction but the gasUsed number does not match that when I divided it by 10e18 and then multiple it by the price of ETH in USD. Maybe gas is not measured in ETH? I'm confused. How do I calcualte gasUsed in USD value?
Please help! Thank you!
Beta Was this translation helpful? Give feedback.
All reactions