{
"total": 1000,
"orders": [{
"id": "1666371045063401472", # order id
"userId": "28", # user id
"price": "9000000000000000",
"size": "2500000000",
"funds": "19997", # price*size/pow(10,18)
"productId": "UNI-USDT",
"side": "sell", # buy or sell
"type": "limit",
"createdAt": 1650958799,
"fillFees": "0",
"filledSize": "200000000", # The actual transaction quantity of the order
"executedValue": "1800000", # The actual transaction value of the order
"status": "open", #order status `new`, `open`, `filled`, `cancelled`, `cancelling`, `partial`
"l2Status": "none", #order layer2 status `none`: init status `confirming`:The order is fully filled, but not confirmed by layer2 `filled`:The order is fully filled, and confirmed by layer2 `cancelled`:The order has been cancelled, and cancelled in layer2 `partial`:The order is partial filled, and confirmed by layer2
"preSettled": false,
"settled": false,
"chanFrom": 0, # 0 : user order 1 : market maker order
"trades": [{
"id": 1,
"time": 1650958799,
"tradeSeq": 231628,
"price": "9000000000000000",
"takerOrderId": "1666371045063401472",
"makerOrderId": "1666371045063401471",
"size": "100000",
"side": "buy",
"status": 3, # 0:not sent to layer2 1:sent to layer2 2:layer2 success 3:layer2 fail 9:matching fail(not sent to layer2)
"productId": "UNI-USDT",
"funds": "900",
"txHash": "0x40acae664609d1115f5ab32d9f3c0fedd7609daa6a4a5515333f583fba10f545",
"failReason": ""
}, {
"id": 2,
"time": 1650958799,
"tradeSeq": 231627,
"price": "9000000000000000",
"takerOrderId": "1666371045063401473",
"makerOrderId": "1666371045063401474",
"size": "100000",
"side": "buy",
"status": 3,
"productId": "UNI-USDT",
"funds": "900",
"txHash": "0x40acae664609d1115f5ab32d9f3c0fedd7609daa6a4a5515333f583fba10f545",
"failReason": ""
}],
"cancelFill": {
"id": 1,
"time": 1650958799,
"size": "199800000",
"doneReason": "cancelled"
}
"isFullFill": true, # If isFullFill is true, it means that the order has actually been filled completely. But `trade.status` may not be `filled` , but it will eventually become filled.
}, {
"id": "1666371045063401471",
"userId": "28", # user id
"price": "8000000000000000",
"size": "2500000000",
"funds": "0",
"productId": "BTC-USDT",
"side": "buy",
"type": "limit",
"createdAt": 1650958799,
"fillFees": "0",
"filledSize": "0",
"executedValue": "0",
"status": "cancelled",
"l2Status": "none",
"preSettled": false,
"settled": false,
"trades": [{
"id": 1,
"time": 1650958799,
"tradeSeq": 231628,
"price": "8000000000000000",
"takerOrderId": "1666371045063401471",
"makerOrderId": "1666371045063401472",
"size": "100000",
"side": "buy",
"status": 3,
"productId": "UNI-USDT",
"funds": "900",
"txHash": "0x40acae664609d1115f5ab32d9f3c0fedd7609daa6a4a5515333f583fba10f545",
"failReason": ""
}, {
"id": 2,
"time": 1650958799,
"tradeSeq": 231627,
"price": "8000000000000000",
"takerOrderId": "1666371045063401473",
"makerOrderId": "1666371045063401474",
"size": "100000",
"side": "buy",
"status": 3,
"productId": "UNI-USDT",
"funds": "900",
"txHash": "0x40acae664609d1115f5ab32d9f3c0fedd7609daa6a4a5515333f583fba10f545",
"failReason": ""
}]
"cancelFill": {
"id": 1,
"time": 1650958799,
"size": "199800000",
"doneReason": "cancelled"
},
"isFullFill": true
}]
}