Rent TRON Energy & Bandwidth via API

View documentation

Energy is the resource the TRON network consumes when a transaction runs a smart contract — most commonly a USDT (TRC-20) transfer. Call one endpoint with a target address and a volume, and we delegate Energy to it directly.

import requests
resp = requests.post(
"https://rocketron.io/api/v1/orders",
headers={
"X-Api-Key": "rok_4f9a1c8e2b7d...",
"Idempotency-Key": "5c1e2b6a-9e21-4b7a-8f3d-1a2b3c4d5e6f",
},
json={
"resource": "energy",
"targetAddress": "TXYZ...4f9a",
"volume": 65000,
"duration": "1h",
},
)
print(resp.json())

Bandwidth is the resource TRON charges for standard transfers and contract calls that don't touch smart contract storage — most commonly a plain TRX transfer. Call one endpoint with a target address and a volume, and we delegate Bandwidth to it directly.

import requests
resp = requests.post(
"https://rocketron.io/api/v1/orders",
headers={
"X-Api-Key": "rok_4f9a1c8e2b7d...",
"Idempotency-Key": "5c1e2b6a-9e21-4b7a-8f3d-1a2b3c4d5e6f",
},
json={
"resource": "bandwidth",
"targetAddress": "TXYZ...4f9a",
"volume": 1000,
"duration": "1h",
},
)
print(resp.json())

From zero to your first request

01
Create a free rocketron account.
02
Get your API key
Issue a scoped key from the dashboard.
03
Send a test request
Call POST /orders with your key.
04
Connect it to your project
Wire the same call into your app or service.

Frequently asked questions

01

02

03

04

05

06