Skip to main content

/accounts/:address:/collections/count

Returns the total number of NFT/SFT/MetaESDT collections where the account is owner or has some special roles assigned to it.

Parameters

  • address REQUIRED (string) - account bech32 address
  • search OPTIONAL (string) - search by collection identifier
  • typeOPTIONAL (string) - filter by type (NonFungibleESDT/SemiFungibleESDT/MetaESDT)

Returns

Number- the total number of NFT/SFT/MetaESDT collections where the account is owner

Example Request and Result for /accounts/:address:/collections/count

Request:

curl -X 'GET' \
'https://elrond-api.public.blastapi.io/accounts/erd160y56egs9q7en67z06jk8ndsgxxuc0srf4kx8gfwc7xmap7zqvtqv973la/collections/count' \
-H 'accept: application/json'

Result:

18