Get Order
Retrieve details of an existing TRON network resource order.
Endpoint
GET https://tronspace.vip/api/public/order/{id}
Path Parameters
Order ID (UUID v4) to retrieve
Response
Response Fields
Unique order identifier (UUID v4)
Order status:
PAYMENT_PENDING
- Initial state, awaiting payment
PAYMENT_FAILED
- Payment not received by paymentDue
PAYMENT_CONFIRMED
- Payment transaction verified
ORDER_PENDING
- Processing resource delegation
ORDER_COMPLETED
- Resources successfully delegated
Resource Details
Type of resource (currently only “ENERGY”)
Requested amount of resource units
Resource amount in SUN units
Duration: FIVE_MIN, FIFTEEN_MIN, or ONE_HOUR
Array of TRON addresses receiving the delegation
Payment amount in SUN (1 TRX = 1,000,000 SUN)
Payment status (PAYMENT_PENDING, PAID, ORDER_COMPLETED)
Payment must be received before this timestamp
TRON address where payment should be sent
(Optional) Payment transaction identifier when order is completed
(Optional) Timestamp when payment was confirmed
Delegations
Array of delegation objects when the order is completed.
Timestamp when delegation was made
TRON address receiving the delegation
Transaction identifier of the delegation
Delegation status (e.g., ACTIVE, RECLAIMED)
Timestamp when delegation can be reclaimed
Example Request
curl -X GET \
'https://tronspace.vip/api/public/order/61553646-39de-4ab2-bd0d-d51a22da9679' \
-H 'x-api-key: your-api-key'
Example Response
{
"json": {
"id": "71e6b03a-dab7-4cc4-b944-0607c3ca3b47",
"status": "ORDER_COMPLETED",
"details": {
"resourceType": "ENERGY",
"amount": {
"value": 300,
"sunValue": 941248400
},
"duration": "FIVE_MIN",
"target": [
"TAA9KiqKZSU2tUhqrPpYBHPprxnKVwnik5"
]
},
"payment": {
"amount": {
"trx": 1.8,
"sun": 1800000
},
"status": "ORDER_COMPLETED",
"dueDate": "2025-02-10 14:30:17",
"paymentAddress": "TPhkG9HtZdknVFA11jFFsceMKTiiHgy62A",
"transactionId": "9aab50ca24246c3911d69df9e75c675b19610854076bfd4ff75e2d039a99c80f",
"paidAt": "2025-02-10 14:20:36"
},
"delegations": [
{
"at": "2025-02-10 14:20:50",
"to": "TAA9KiqKZSU2tUhqrPpYBHPprxnKVwnik5",
"amount": 941248400,
"tx": "b73a9ed2b41dbda8c628c981926501568082db2e433681751e94e4ddc660669d",
"status": "ACTIVE",
"reclaimDate": "2025-02-10 14:25:50"
}
],
"timestamps": {
"created": "2025-02-10 14:20:17",
"updated": "2025-02-10 14:20:50"
}
},
"meta": {
"values": {
"delegations": ["undefined"]
}
}
}
This update includes the “delegations” field in both the response fields explanation and the example response.
Responses are generated using AI and may contain mistakes.