/accounts/:address:/nfts/count
Returns the total number of NFT/SFT tokens from a given address, as well as the total number of a certain type of ESDT.
Parameters
address
REQUIRED(string)
- account bech32 addressidentifiers
OPTIONAL(array[string])
- filter by identifiers, comma-separatedsearch
OPTIONAL(string)
- search by collection identifiertype
OPTIONAL(string)
- filter by type (NonFungibleESDT/SemiFungibleESDT/MetaESDT)collection
: DEPRECATED(string)
- get all tokens by token collection. Deprecated, replaced by collections parametercollections
: OPTIONAL(array[string])
- get all tokens by token collections, comma-separatedname
:(string)
- the username specific for this account- **
tags
: **OPTIONAL(array[string])
- filter by one or more comma-separated tags - **
creator
: **OPTIONAL(string)
- return all NFTs associated with a given creator - **
hasUris
: **OPTIONAL(boolean)
- return all NFTs that have one or more uris - **
includeFlagged
: **OPTIONAL(boolean)
- include NFTs that are flagged or not
Returns
Number
- the total number of NFT/SFT tokens from a given address
Example Request and Result for /accounts/:address:/nfts/count
Request:
curl -X 'GET' \
'https://elrond-api.public.blastapi.io/accounts/erd160y56egs9q7en67z06jk8ndsgxxuc0srf4kx8gfwc7xmap7zqvtqv973la/nfts/count' \
-H 'accept: application/json'
Result:
39