获取具体分类NFT列表

1. 接口调用:

https://{host}/gt/swap/path/v1/getLists

2. 请求参数实例

参数是否必须说明

buyNow

是否可以购买(默认:1)

page

页数(默认:1)

pageSize

条数(默认 : 50)

chain

分类为

主题:"" 平台:BSC,ETH,POLYGON三种或其中一种

keywords

搜索关键字

priceOrder

价格排序(默认:asc)

type

类型:平台/主题(collection/platfrom)

keyId

具体NFT分类ID

equipmentNo

设备编号

sessionUuid

用户唯一的登录标识sessionId

sourceFlag

订单来源用于标识是哪个平台创建的订单,请联系我们设置

sourceType

请求来源设备(IOS,Android,h5)

userNo

用户名

3.请求参数示例

{
	"buyNow": "1",
	"chain": "BSC",
	"equipmentNo": "",
	"keyId": "",
	"keywords": "",
	"page": 0,
	"pageSize": 0,
	"priceOrder": "asc",
	"sessionUuid": "",
	"sourceFlag": "",
	"sourceType": "",
	"type": "collection",
	"userNo": ""
}

4.返回结果示例

{
	"data": {
		"collections": [
			{
				"collectionId": "",
				"imageUrl": "",
				"name": ""
			}
		],
		"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"
}