Update the origin_energy_limit parameter of a smart contract


Origin Energy Limit

Starting with Java-Tron Odyssey 3.2 release, this parameter is required for deploying new contracts, and the value should be larger than 0. For contracts already deployed on the Mainnet prior to Odyssey 3.2, the value is stored as 0, but treated as maximum = 10,000,000.


Transaction object - JSON object: Unsigned transaction, please refer to the Transaction chapter for the fields contained in it. Since the transaction type is UpdateEnergyLimitContract, the fields contained in raw_data.contract[0].parameter.value in the transaction are as follows:

owner_addressstringAccount address
contract_addressintContract address
origin_energy_limitstringAdjusted upper limit of energy provided by smart contract deployers in one transaction
Click Try It! to start a request and see the response here!