Count Distributed Digital Passports by Tags
Count how many digital passports have been distributed for one or several tags.
Please refer to our new API feature which allows you to include more parameters in your count!
Before you begin
As a brand, say you wish to know how many digital passports are minted and owned by your customers for one or several tags.
This API returns only the digital passports that are no longer owned by the NFT Management Platform.
Let's start 🚀
Use the certificate/getCountOfSmartAssetsIdByTags
with the following parameters.
NFT Management Platform user rights required to call this API →
certRead
{
"tags": ["kittenhoodie"],
"tagRule": "and",
"uniqueOwner": true
}
Input | Mandatory | Type | 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. |
Result: The distributed digital passports count is returned.
If incorrect
tags
, the count is defined as0
.
{
"result": {
"count": 2
}
}
Updated about 1 year ago