Links

获取账号的NFT

1. 接口调用:
https://{host}/gt/swap/path/v1/getOwnedAssets
2. 请求参数实例
参数
是否必须
说明
owner
用户钱包地址
page
页数(默认:1)
pageSize
条数(默认:50)
keywords
搜索关键字
equipmentNo
设备编号
sessionUuid
用户唯一的登录标识sessionId
sourceFlag
订单来源用于标识是哪个平台创建的订单,需要与SWFT BlockChain进行协商设置
sourceType
请求来源设备(IOS,Android,h5)
userNo
用户名

3.请求参数示例

{
"equipmentNo": "",
"owner": "",
"keywords":"",
"page":1,
"pageSize": 50,
"sessionUuid": "",
"sourceFlag": "",
"sourceType": "",
"userNo": ""
}

4.返回结果示例

{
"data": {
"assets": [
{
"canSell": "",
"contractAddr": "",
"imageUrl": "",
"mainnet": "",
"name": "",
"paymentInfo": {},
"platformId": "",
"tokenId": ""
}
]
},
"resCode": "800",
"resMsg": "success"
}
Last modified 1yr ago