public class EpirusGasProvider
extends org.web3j.tx.gas.DefaultGasProvider
| Modifier | Constructor and Description |
|---|---|
|
EpirusGasProvider(org.web3j.protocol.Network network,
GasPrice desiredGasPrice) |
protected |
EpirusGasProvider(org.web3j.protocol.Network network,
java.lang.String url,
GasPrice desiredGasPrice) |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getGasPrice() |
java.math.BigInteger |
getGasPrice(java.lang.String contractFunc) |
public EpirusGasProvider(org.web3j.protocol.Network network,
GasPrice desiredGasPrice)
throws java.io.IOException
java.io.IOExceptionprotected EpirusGasProvider(org.web3j.protocol.Network network,
java.lang.String url,
GasPrice desiredGasPrice)
throws java.io.IOException
java.io.IOExceptionpublic java.math.BigInteger getGasPrice(java.lang.String contractFunc)
getGasPrice in interface org.web3j.tx.gas.ContractGasProvidergetGasPrice in class org.web3j.tx.gas.StaticGasProviderpublic java.math.BigInteger getGasPrice()
getGasPrice in interface org.web3j.tx.gas.ContractGasProvidergetGasPrice in class org.web3j.tx.gas.StaticGasProvider