9.查询指定ERC1155 POAP NFT的持有者列表
开发中GET
https://testnet.confluxscan.net/stat/nft/list1155inventory查询指定NFT的详情和所有者等信息,仅限于ERC1155 POAP。主网请使用:https://confluxscan.net/stat/nft/list1155inventory
请求参数
Query 参数
contractAddr
string
合约地址
示例值:
cfxtest:acdj436pd0muuhzj4w65cgwtcvuaefehcehuverk0u
tokenId
string
NFT的ID
示例值:
8
limit
string
必需
每次请求显示的条数,最高100
示例值:
100
skip
string
跳过的条数
示例值:
0
tab
string
固定不变
示例值:
holders
示例代码
返回响应
ERC1155成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
total
integer
必需
list
array [object {12}]
必需
id
integer
必需
contractId
integer
必需
addressId
integer
必需
tokenId
string
NFT的ID
amount
string
NFT的数量
epoch
integer
必需
latestEpoch
integer
必需
createdAt
string
必需
updatedAt
string
必需
owner
string
持有者地址
ownerTokenInfo
object
必需
ownerContractInfo
object
必需
totalSupply
string
该ID的NFT POAP的总发行量
tokenId
string
NFTID
listLimit
integer
列表最大条数
示例成功示例
{
"total": 3,
"list": [
{
"id": 312283,
"contractId": 1879361,
"addressId": 1879317,
"tokenId": "8",
"amount": "98",
"epoch": 79837493,
"latestEpoch": 79837600,
"createdAt": "2022-06-16T10:14:12.000Z",
"updatedAt": "2022-06-16T10:17:28.000Z",
"owner": "cfxtest:aas0668d91rj5u31beat3nvzgv1b88c1dy7x5vcv4n",
"ownerTokenInfo": {},
"ownerContractInfo": {}
},
{
"id": 312285,
"contractId": 1879361,
"addressId": 1873260,
"tokenId": "8",
"amount": "1",
"epoch": 79837493,
"latestEpoch": 79837600,
"createdAt": "2022-06-16T10:16:47.000Z",
"updatedAt": "2022-06-16T10:17:28.000Z",
"owner": "cfxtest:aatxudan1t6fxpjgmkrh4b0hyjy27pc5ne7e51rsah",
"ownerTokenInfo": {},
"ownerContractInfo": {}
},
{
"id": 312284,
"contractId": 1879361,
"addressId": 1879807,
"tokenId": "8",
"amount": "1",
"epoch": 79837493,
"latestEpoch": 79837600,
"createdAt": "2022-06-16T10:15:52.000Z",
"updatedAt": "2022-06-16T10:17:28.000Z",
"owner": "cfxtest:aam1rpsy7ygkhe6z5bfz5bew7d89sju53jubbf2cpz",
"ownerTokenInfo": {},
"ownerContractInfo": {}
}
],
"totalSupply": "100",
"tokenId": "8",
"listLimit": 10000
}
最后修改时间: 2 years ago