Skip to content

EstimateEnergy

Estimate the energy required to call a contract. Requires vm.estimateEnergy=true on the node.

  • Service: both Wallet and WalletSolidity
rpc EstimateEnergy (TriggerSmartContract) returns (EstimateEnergyMessage) {}

See the corresponding HTTP endpoint at /wallet/estimateenergy.