EstimateEnergy¶
预估调用合约所需能量。需节点开启 vm.estimateEnergy=true。
- 服务:同时支持
Wallet和WalletSolidity
rpc EstimateEnergy (TriggerSmartContract) returns (EstimateEnergyMessage) {}
相似 HTTP 接口见 /wallet/estimateenergy。
预估调用合约所需能量。需节点开启 vm.estimateEnergy=true。
Wallet 和 WalletSolidityrpc EstimateEnergy (TriggerSmartContract) returns (EstimateEnergyMessage) {}
相似 HTTP 接口见 /wallet/estimateenergy。