HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

UpdateEnergyLimit

Update the origin_energy_limit parameter of a smart contract

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…

❗️

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.

Body Params
string
Defaults to 41608F8DA72479EDC7DD921E4C30BB7E7CDDBE722E

Transaction creator address, in hex string format.

string
Defaults to 41a7837ce56da0cbb28f30bcd5bff01d4fe7e4c6e3

The address of the contract to be modified, in hex string format.

int32

The maximum energy the creator sets. The greatest amount of energy the creator consumes during contract execution or creation process.

int32

Optional, for multi-signature use

boolean

Optional.Whehter the address is in base58 format.

Responses

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json