Coding task · Blockchain and Web3 course · Module 3: Ethereum & EVM
Gas Calculator
Create a function that calculates the total transaction cost based on the Gas Limit and gas price
Task
Implement calculateTransactionCost(gasLimit, gasPrice) that returns the cost in Wei and Ether