Skip to main content

Buy Energy

POST 

/buy

Purchase Energy for a receiver address. The cost is deducted from your account balance immediately — including a one-time account-activation fee (activation_fee_sun) when the receiver is not yet activated on TRON. The order starts as PENDING; Energy is typically delegated within seconds. Use the Get Order endpoint to poll for completion.

If your TRX balance is short and usdt_cover_shortfall is on (see GET /account), just enough of your USDT balance converts to TRX first (1% fee) and the purchase goes through. If the USDT can't cover the whole shortfall, nothing converts and the purchase is refused with insufficient_balance.

receiver_address is checked before anything is charged: an invalid address returns 400 invalid_address.

Send an Idempotency-Key header so that a retry after a timeout returns the original order instead of placing a second one — see Idempotency.

Request​

Responses​

Successful Response