Update contract energy limit

Updates the maximum energy limit for an existing smart contract.

Request

This endpoint expects an object.
owner_addressstringRequired
Base58 address of the contract owner.
contract_addressstringRequired
Base58 address of the contract to update.
origin_energy_limitintegerRequired
New maximum energy limit.
visiblebooleanOptional

Indicates if addresses are base58 (true) or hex (false).

Response

Unsigned transaction object for contract energy limit update.
visibleboolean or null
txIDstring or null
raw_dataobject or null
raw_data_hexstring or null