基本说明
获取交易的订单详情
GET/v1/tron/history
订单详情(History)
查询最近完成订单
必填参数
- Name
orderId
- Type
- string
- Description
订单ID
Request
GET
/v1/tron/historycurl -G https://api.eopen.io/api/v1/tron/history \
-H "API-KEY: {apiKey}" \
-d "orderId=a1ce54f9d354ed63a98789ce70dde889"
Response
{
"code": 1,
"msg": "查询成功",
"time": "1695259747",
"data": {
"amount": 100.5,
"rentalCount": 1000,
"duration": 24,
"unit": "h",
"pledgeAddress": "TRxxxxxxx",
"txId": "txid123456",
"status": "COMPLETED"
}
}