fun priceFor(gasPrice: Wei!): Wei!
(source)
The price of this amount of gas given the provided price per unit of gas.
gasPrice
- Wei!: The price per unit of gas.
Return
Wei!: The price of this amount of gas for a per unit of gas price of gasPrice
.