跳转到主要内容

欢迎使用 TronRental API

TronRental 提供 REST API,用于租赁 TRON 能量和带宽。与直接燃烧 TRX 相比,可节省高达 80% 的 USDT 转账费用。

您可以做什么

基础 URL

所有 API 请求使用以下基础 URL:
https://api.tronrental.com/v1

快速示例

curl -X POST https://api.tronrental.com/v1/energy/buy \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "address": "TYourTronAddress...",
    "energy_amount": 65000,
    "duration_hours": 1
  }'
Response
{
  "order_id": 12345,
  "address": "TYourTronAddress...",
  "energy_amount": 65000,
  "duration_hours": 1,
  "price_trx": "2.75",
  "status": "pending"
}

后续步骤

1

获取 API 密钥

tronrental.com 注册,然后在控制面板中创建 API 密钥。
2

查询当前价格

调用 GET /api/v1/prices 查看当前能量和带宽价格。
3

完成首笔购买

使用 POST /api/v1/energy/buy 为 TRON 地址购买能量。