Enterprise Energy Collection API Documentation
This interface only creates fixed 10-minute duration orders, with sufficient energy allowing for successful order placement in 3-6 seconds. If you need other energy-related functions, you can place an order on the EOPEN Platform Official Website or contact us to inform us of your specific requirements.
Create Order (Collect Order)
If your business scenario involves a DApp, Blockchain Wallet, Crypto exchange, or Payment platform consolidating funds from receiving addresses to a cold/hot wallet, standard energy interfaces may not meet your needs. This interface automatically determines the required amount of energy and bandwidth based on the transfer toAddress, with fees calculated based on actual usage.
Required Parameters
- Name
pledgeAddress
- Type
- string
- Description
Receiving address: The address that receives energy
- Name
toAddress
- Type
- string
- Description
Transfer address: The To Address for the transfer
Optional Parameters
- Name
outOrderNo
- Type
- string
- Description
External order number: This order number will be included in the response
Request
curl -G https://api.eopen.io/api/v1/tron/collect \
-H "API-KEY: {apiKey}" \
-d "pledgeAddress=TRxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-d "toAddress=TRxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-d "outOrderNo=1000000000000001"
Response
{
"code": 0,
"msg": "Collect Order generated successfully, please check order processing status later",
"time": "1741803626",
"data": {
"id": "OR202503121820255RQTN1TL", // Platform order number
"currency": "USDT", // Current payment currency
"toAddress": "TRxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", // Transfer address
"pledgeAddress": "TRxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", // Address receiving energy
"outOrderNo": "xxxxx"
}
}