Create Order
Create Order
Request Parameters
request id
receive address
0: Specified quantity 1: System estimation , default is 0 if not specified.
All methods are subject to minimum purchase value limits.:
- The minimum purchase quantity for bandwidth is 5000.
- The minimum purchase quantity for energy is 64400.
-
System estimates (buy_type = 1)
- Please ensure that the receive_address holds the token corresponding to the contracte_address, otherwise the miner fee estimation will fail
- Only allow the purchase of energy,Purchasing bandwidth is not supported.
-
When the customer specifies a quantity (buy_type = 0), they cannot purchase both energy and bandwidth simultaneously.
- Only one of
energy_numandnet_numcan be selected.
- Only one of
-
Parameter requirements when buy_type = 0
- Please fill in at least one of the fields:
energy_numornet_num.
- Please fill in at least one of the fields:
rent time code: Request the order/price interface to return the cost codes for minutes, hours, days, and different times.
eg:10010 - 10 minutes, 20001 - 1 hour, 30001 - 1 day
Energy flash recharge type 10000 is not supported by this endpoint. Use /api/tron/gas/flash/open instead.
energy num : min value is 64000
If buy_type=0, please enter the specific amount of energy
net num : min value is 5000
If buy_type=0, please enter the specific amount of net
The transfer address for estimating miner fees.
Required when selecting buy_type=1.
Contract address for estimating miner fees.
Required when selecting buy_type=1.