The client to be used for the query
The address of the contract to query
Representation of an account address
Input for contract function
Represents a receive-function in a smart contract module
Number of expected signatures
Optional
blockHash: BlockHashOptional block hash allowing for dry-running the contract update at the end of a specific block.
Generated using TypeDoc
Get contract update energy cost Estimated by calculateEnergyCost, where transactionSpecificCost received from invokeContract used energy
Throws
'no response' if either the block does not exist, or then node fails to parse any of the inputs If the response tag is
failure
, then error contains a response messageReturns
estimated amount of energy for the last finalized block according to the node, this means that the actual energy cost might be different depending on the implementation of the smart contract and the interaction with the instance, since this was estimated