Calculate the transaction cost using gas, gas price for any denomination of ether.