Timeline for Please confirm units in this sendTransaction are reasonable
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 29, 2022 at 1:27 | comment | added | Ismael♦ | @EHM It is a 5 years old answer! It was for web3 v0.20.xx. I'd suggest to add an new answer with the updates for web3 v1.xx. | |
Mar 29, 2022 at 1:05 | comment | added | EHM | web3.utils.toWei("10", "ether"). (*web3 updates) | |
Sep 18, 2017 at 14:31 | vote | accept | rkagerer | ||
Sep 18, 2017 at 14:31 | comment | added | rkagerer | Thanks that answers my question. Ethgasstation.info was down at the time so I just looked at gas prices of recent transactions on Etherscan.io and added a nice fat margin. | |
Sep 14, 2017 at 7:41 | comment | added | Ismael♦ | Gas price is a dynamic value, sometime during a popular ICO the cost goes up. You can use ethgasstation.info to determine the convenient price at given moment, ie how much time can you wait for a transaction to be mined vs the price you want to pay. A good wallet can calculate the total of a transaction, but otherwise if you have enough funds there's nothing that can save you if you put too many zeros in the gas price. | |
Sep 14, 2017 at 4:02 | comment | added | rkagerer | Thanks; this is very helpful! So my values were reasonable? i.e. My gasPrice was 80 gwei and I was sending 0.02 eth? What happens if you screw up and use a ballistic gas price either within or outside the means of your account balance? Does anything protect you from a typo with extra zeroes recklessly burning through all your account funds? | |
Sep 13, 2017 at 3:19 | history | answered | Ismael♦ | CC BY-SA 3.0 |