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 or certRead

Use the certificate/getListOfSmartAssetsIdByTags with the following parameters.

POST - https://{{nmpUrl}}/certificate/getListOfSmartAssetsIdByTags

Body

FieldTypeRequiredDescription
tagsStringโœ…Tag of the digital passport to count.
tagRuleand, orโŒIf you search for one tag, leave the parameter empty.
uniqueOwnerBooleanโœ…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": []
    }
}