curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/updateenergylimit \
--header 'Content-Type: application/json' \
--data '{
"owner_address": "TSNEe5Tf4rnc9zPMNXfaTF5fZfHDDH8oyW",
"contract_address": "TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs",
"origin_energy_limit": 100000000,
"visible": true
}'
{
"visible": true,
"txID": "<string>",
"raw_data": {
"contract": [
"<any>"
],
"ref_block_bytes": "<string>",
"ref_block_hash": "<string>",
"expiration": 123,
"timestamp": 123
},
"raw_data_hex": "<string>"
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/updateenergylimit \
--header 'Content-Type: application/json' \
--data '{
"owner_address": "TSNEe5Tf4rnc9zPMNXfaTF5fZfHDDH8oyW",
"contract_address": "TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs",
"origin_energy_limit": 100000000,
"visible": true
}'
{
"visible": true,
"txID": "<string>",
"raw_data": {
"contract": [
"<any>"
],
"ref_block_bytes": "<string>",
"ref_block_hash": "<string>",
"expiration": 123,
"timestamp": 123
},
"raw_data_hex": "<string>"
}
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 sun units)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:
Contract energy limit update transaction
The response is of type object
.
Was this page helpful?