-
How do we calculate the total gas cost for a transaction?
- The cumulative sum of all the operations is the total gas cost for the transaction
-
What is gas limit?
- The maximum amtt of gas one is willing to spend on the transaction
-
What happens if we specify a gas limit that is too low?
- Providing too little gas will result in a failed transaction; the fees are kept by the miner, but u do not lose any other funds
-
What happens if we specify a gas limit that is too high and therefore not consumed fully?
- unspent gas is refunded automatically
-
What is a gwei?
- Wei is the smallest unit of ether, and gwei is simply 1 billion wei
Further questions outta curiosity //
- How do miners turn gwei into other currencies? Do they just stack up until issa transferable amount of ETH?
- Where do all these weird names like âwei; femtoether; shannon, babbage, etcâ come from?
Thanks for this v interesting class! I always wondered how minin on ETH worked, this article explained A LOT.