EstimateEnergy¶
Estimate the energy required to call a contract. Requires vm.estimateEnergy=true on the node.
- Service: both
WalletandWalletSolidity
rpc EstimateEnergy (TriggerSmartContract) returns (EstimateEnergyMessage) {}
See the corresponding HTTP endpoint at /wallet/estimateenergy.