Skip to main content

order_list

Order list

This API is used to query a list of orders. By calling this API, you can obtain a list of orders, including order status, quantity, price, and other detailed information.

GET
/openapi/order/list
請求
NameTypeRequiredDescription
pagenumber noDefault: 1.
page_sizenumber noDefault: 10 ; Max: 100

請求

{
"page": 1,
"page_size": 10
}
響應
NameTypeDescription
codeint業務狀態碼
totalinttotal
dataArrayorder data
abbrstring幣名稱
accept_atint接受時間
addressstring地址
chainstring鏈名稱
create_atint創建時間
delete_atint刪除時間
exchange_modelstring兌換模式(浮動比例 | 固定比例)
expire_atint過期時間
finish_atint完成時間
freeze_atint凍結時間
nostring訂單編號
odr_volumefloat訂單數量
payfor_atint支付時間
pricefloat價格
query_codestring查詢代碼
rel_volumefloatActual quantity
statusintStatus, 1:to be transferred; 2:already transferred; 3:exchange; 4:completed; 5:Refunded; 7:frozen; 8:expired; 9:abandoned
typestringSource Asset Agreement
msgstring業務消息

示例響應

{
"code": 0,
"msg": "success",
"total": 1,
"data":[
{
"no": "1aS***UQ",
"query_code": "FL4E****TGEE",
"chain": "TRON",
"type": "",
"abbr": "TRX",
"address": "TWr1wuWH******XGgMmtVJNSi1p5",
"exchange_model": "float",
"odr_volume": 17660.605547,
"rel_volume": 6.15,
"addr_num": 1,
"price": 0.283116,
"status": 4,
"create_at": 1776859589,
"expire_at": 1777945989,
"payfor_at": 1767860156,
"accept_at": 0,
"finish_at": 1767861622,
"freeze_at": 0,
"delete_at": 0
}]
}