购买能源

要使用此功能,您必须拥有API密钥。请在此处了解如何获取我们的API密钥

TronSave 使用API密钥购买

通过API密钥创建新的购买能源订单

POST https://api.tronsave.io/v0/internal-buy-energy

通过API密钥创建新的购买能源订单

速率限制 (Rate limit): 每2秒1个请求。

Headers

Request Body

如果成功,返回订单ID。

{
    "order_id": "new_order_id"
}

例子 (Example)

{
    "resource_type": "ENERGY",
    "buy_energy_type": "FAST",
    "amount": 100000,
    "allow_partial_fill": true,
    "target_address": "TKVSaJQDWeKFSEXmA44pjxduGTxy999999",
    "duration_millisec":86400000
}

Last updated