Pre-order
Endpoint usage
POST
https://open.tronify.io/api/tronRent/queryPreorderInfo
The fields with * are required, and the fields without * are optional
Request Body
fromAddress*
String
user address(wallet address for buyer)
pledgeAddress*
String
energy receiving address.
pledgeNum*
int
amount of energy
orderType*
String
ENERGY
sourceFlag*
String
Source channel (Both sides need to agree on a name to represent the channel of the third parties)
tradeType*
String
fastTrade
pledgeDay*
String
Rental Time(unit: day)
values: 0-30
(
pledgeDay
, pledgeHour
, and pledgeMinute
cannot be 0 simultaneously)
pledgeHour*
String
Rental Time(unit: hour)
values: 0, 1, 3
pledgeMinute*
String
Rental Time(unit: minute)
values: 0, 10
extraTrxNum
String
The amount of additional trx the user wants to receive Value range (0.5, 500] (USDT get energy model)
pledgeBandwidthNum
String
The amount of additional bandwidth the user wants to receive. If 0 or no passed, it means no bandwidth is required. (USDT get energy model)
code example
Postman example
Last updated