Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
owner_address— address of the contract owner who can update the energy limitcontract_address— address of the smart contract to update energy limit fororigin_energy_limit— maximum energy amount the contract creator provides (in energy units, not TRX/sun)visible— boolean indicating whether to use visible (Base58) address format instead of hex
Response
visible— boolean indicating whether addresses are in visible formattxID— unique transaction ID for the energy limit update transactionraw_data— raw transaction data containing:contract— array with contract update detailsref_block_bytes— reference block bytes for transaction validationref_block_hash— hash of the reference blockexpiration— transaction expiration timestamptimestamp— transaction creation timestamp
raw_data_hex— complete transaction data encoded in hexadecimal format
Use case
Thewallet/updateenergylimit method is used for:
- Setting energy subsidies for contract users to improve user experience.
 - Managing contract execution costs by controlling energy allocation.
 - Optimizing contract economics by adjusting energy provision strategies.
 - Implementing freemium models where basic operations are subsidized.
 - Balancing between contract owner costs and user accessibility.
 - Adjusting energy limits based on contract usage patterns and feedback.
 
Only the contract owner can update the origin energy limit. Higher limits mean the contract owner covers more execution costs, making the contract cheaper for users to interact with. The value is specified in energy units (not TRX/sun).
curl example
Shell
owner_address exists and is authorized (contract owner). Otherwise the node returns a validation error.
1
verify owner account exists
Use 
wallet/getaccount to make sure the address is activated and format matches visible.Shell
2
confirm contract and owner
wallet/getcontract expects a hex address. It returns origin_address (the deployer/owner) and current settings.Shell
common validation errors:
Account [41…] does not exist— the payer address does not exist on-chain or the format does not matchvisible. Query it withwallet/getaccountand fund/activate it first.No permissionor similar — theowner_addressis not the contract owner; only theorigin_addresscan update settings.Contract not found— check the contract address and use hex forwallet/getcontract.
Body
application/json