tuweni / org.apache.tuweni.units.ethereum / Gas / priceFor

priceFor

fun priceFor(gasPrice: Wei!): Wei! (source)

The price of this amount of gas given the provided price per unit of gas.

Parameters

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.