UpdateEnergyLimit

Update the origin_energy_limit parameter of a smart contract

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
❗️

Origin Energy Limit

Starting with the Java-Tron Odyssey 3.2 release, this parameter is mandatory for deploying new contracts, and the value must be greater than 0. For contracts already deployed on the Mainnet before Odyssey 3.2, the value is stored as 0 but is functionally treated as the maximum allowed value, which is 10,000,000.


Related resources

Body Params
string
required

Transaction initiator address. (Format: Base58 or Hex)

string

Contract address. (Format: Base58 or Hex).
Example: TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs

int32

Maximum Energy the contract deployer is willing to subsidize per call. Must be > 0; typical value: 1,000,000–10,000,000. Example: 100000000

int32

Optional. Permission ID used for multi-signature account operations. Defaults to the owner permission (0) if unspecified.

boolean
Defaults to true

Optional. Set to true to format addresses in Base58; set to false for hex format. (Default: false)

Responses

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