Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk
Class MirrorNodeContractEstimateGasQuery
java.lang.Object
com.hedera.hashgraph.sdk.MirrorNodeContractQuery<MirrorNodeContractEstimateGasQuery>
com.hedera.hashgraph.sdk.MirrorNodeContractEstimateGasQuery
public class MirrorNodeContractEstimateGasQuery
extends MirrorNodeContractQuery<MirrorNodeContractEstimateGasQuery>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.hedera.hashgraph.sdk.MirrorNodeContractQuery
call, createJsonPayload, estimate, getBlockNumber, getCallData, getContractEvmAddress, getContractId, getGasLimit, getGasPrice, getSender, getSenderEvmAddress, getValue, parseContractCallResult, parseHexEstimateToLong, self, setBlockNumber, setContractEvmAddress, setContractId, setFunction, setFunction, setFunctionParameters, setGasLimit, setGasPrice, setSender, setSenderEvmAddress, setValue
-
Constructor Details
-
MirrorNodeContractEstimateGasQuery
public MirrorNodeContractEstimateGasQuery()
-
-
Method Details
-
execute
Returns gas estimation for the EVM execution.- Parameters:
client- The Client instance to perform the operation with- Returns:
- The estimated gas cost
- Throws:
ExecutionExceptionInterruptedException
-
toString
- Overrides:
toStringin classMirrorNodeContractQuery<MirrorNodeContractEstimateGasQuery>
-