Report Distributed Digital Passports using Tags
As a brand, say you wish to list digital passport IDs having one or several specific tags.
This API returns only the digital passports that are no longer owned by the NFT Management Platform.
URL
Required rights:
admin
orcertRead
Use the certificate/getListOfSmartAssetsIdByTags
with the following parameters.
POST - https://{{nmpUrl}}/certificate/getListOfSmartAssetsIdByTags
Body
Field | Type | Required | Description |
---|---|---|---|
tags | String | โ | Tag of the digital passport to count. |
tagRule | and , or | โ | If you search for one tag, leave the parameter empty. |
uniqueOwner | Boolean | โ | The digital passport has had one unique owner since its creation. |
{
"tags": ["kittenhoodie"],
"tagRule": "and",
"uniqueOwner": true
}
Return Payload
The digital passport ID list is returned.
{
"result": {
"smartAssetsId": [
479081,
95239832777,
70269147,
22143314,
95041636,
296461532,
43724522,
48496526,
47045142,
74876956,
46905527
]
}
}
Errors
If incorrect
tags
,smartAssetId
list is empty.
{
"result": {
"smartAssetsId": []
}
}
Updated 11 days ago