Get NFT Category List
1. Request Url
https://{host}/gt/swap/path/v1/getBaseInfo
2. Request Param
Parameter name | Is it necessary | description |
keywords | Y | search for the keyword |
type | Y | Type: collection/platfrom |
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": "",
"keywords": "",
"page": 0,
"pageSize": 0,
"sessionUuid": "",
"sourceFlag": "",
"sourceType": "",
"type": "",
"userNo": ""
}
4.Response Data
{
"data": {
"lists": [
{
"contractAddress": "",
"currentPrice": "",
"id": "",
"imageUrl": "",
"isSupportAny": 0,
"itemNum": "",
"mainnet": "",
"name": "",
"ownerAddress": "",
"paymentContract": "",
"paymentDecimals": "",
"paymentTokenName": "",
"paymentUrl": "",
"platformId": "",
"platformUrl": "",
"tokenId": "",
"type": ""
}
],
"total": 0
},
"resCode": "800",
"resMsg": "success"
}
Last modified 1yr ago