Comment on page
/accounts/{address}/roles/collections/count
Returns the total number of NFT/SFT/MetaESDT collections where the account is owner or has some special roles assigned to it.
address
: REQUIRED(string)
- the address to querysearch
OPTIONAL(string)
- search by collection identifiertype
OPTIONAL(array[string])
- filter by type (NonFungibleESDT/SemiFungibleESDT/MetaESDT)owner
OPTIONAL(string)
- filter by collection ownercanCreate
OPTIONAL(boolean)
- filter by property canCreatecanBurn
OPTIONAL(boolean)
- filter by property canBurncanAddQuantity
OPTIONAL(boolean)
- filter by property canAddQuantity
Number
- the total number of NFT/SFT/MetaESDT collectionsRequest:
curl -X 'GET' \
'https://elrond-api.public.blastapi.io/accounts/erd160y56egs9q7en67z06jk8ndsgxxuc0srf4kx8gfwc7xmap7zqvtqv973la/roles/collections/count' \
-H 'accept: application/json'
Result:
0