Core API
Buy Energy
Purchase energy for a TRON address
POST
Buy Energy
Buy Energy
Delegates energy to the specified TRON address. The cost is deducted from your account balance.Request body
Target TRON address (T… format, 34 characters)
Amount of energy to delegate (min 32,000, max 5,000,000)
Rental duration:
"1h" (1 hour) or "1d" (1 day, bandwidth orders only)Response
Unique order identifier
Order status:
pending, filled, failedOn-chain transaction id once the delegation is broadcast (null while
pending)Total cost charged from your balance, in TRX
ISO 8601 timestamp when the bandwidth rental is reclaimed (energy is reclaimed automatically by the provider)
Address activation cost in TRX (
"0" if the recipient is already activated)Example
Response
Buy Energy