Query transaction records
1. Request Url
https://{host}/gt/swap/path/v1/queryAllNftTrade
2. Request Param
Parameter name
Is it necessary
description
orderSide
Y
0---Sell 1--- Buy if not passed, the default is to check all
page
Y
The current number of pages(default: 1)
pageSize
Y
Number each page(default: 50)
equipmentNo
N
device ID
sessionUuid
N
User's unique login ID sessionId
sourceFlag
N
The order source is used to identify which platform created the order and needs to be negotiated with SWFT BlockChain
sourceType
N
Request source device (IOS, Android, h5)
userNo
N
userNo
3.Request Example
{
"equipmentNo": "",
"orderSide": "",
"pageNo": 0,
"pageSize": 0,
"sessionUuid": "",
"sourceFlag": "",
"sourceType": "",
"userNo": ""
}
4.Response Data
{
"data": {
"pageContent": [
{
"createTime": "",
"depositCoinAmt": "",
"depositCoinCode": "",
"equipmentNo": "",
"isNft": "",
"nftLogoUrl": "",
"nftName": "",
"orderId": "",
"orderSide": "",
"orderStatus": "",
"platformAddr": "",
"receiveCoinAmt": "",
"receiveCoinCode": "",
"refundAddr": "",
"refundCoinAmt": "",
"router": "",
"transactionHash": "",
"userAddr": ""
}
],
"pageNo": 0,
"pageSize": 0,
"totalCount": 0,
"totalPage": 0
},
"resCode": "800",
"resMsg": "success"
}
Copy link