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 hexvisible — 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 timestampraw_data_hex — complete transaction data encoded in hexadecimal formatwallet/updateenergylimit method is used for:
owner_address exists and is authorized (contract owner). Otherwise the node returns a validation error.
verify owner account exists
wallet/getaccount to make sure the address is activated and format matches visible.confirm contract and owner
wallet/getcontract expects a hex address. It returns origin_address (the deployer/owner) and current settings.Account [41…] does not exist — the payer address does not exist on-chain or the format does not match visible. Query it with wallet/getaccount and fund/activate it first.No permission or similar — the owner_address is not the contract owner; only the origin_address can update settings.Contract not found — check the contract address and use hex for wallet/getcontract.