Returns NFT/SFT/MetaESDT collections where the account owns one or more NFTs.
Parameters
addressREQUIRED(string) - account bech32 address
fromOPTIONAL(string) - number of items to skip for the result set
sizeOPTIONAL(string) - number of items to retrieve
searchOPTIONAL(string) - search by collection identifier
typeOPTIONAL(string) - filter by type (NonFungibleESDT/SemiFungibleESDT/MetaESDT)
Returns
collection : (string) - represents additional information about the NFT or SFT, like picture traits or tags for your NFT/collection. The field should follow a metadata:ipfsCID/fileName.json;tags:tag1,tag2,tag3 format
type : (string) - enum [NonFungibleESDT, SemiFungibleESDT, MetaESDT]
ticker : (string) - a random string starts with “-” and has 6 more random characters
owner : (string) - the owner's address
timestamp : (number) - u64 format
canFreeze: (boolean) - the token manager may freeze the token balance in a specific account, preventing transfers to and from that account - default value: false
canWipe: (boolean) - the token manager may wipe out the tokens held by a frozen account, reducing the supply - default value: false
canPause: (boolean) - the token manager may prevent all transactions of the token, apart from minting and burning - default value: false
_canTransferNFTCreateRole _ : (boolean) - the addresses with the transfer role can transfer anywhere
decimals: (number) - the number of decimals in order to display balance
assets :
website : (string)
description : (string)
status : active/inactive
pngUrl : (string)
svgUrl : (string)
lockedAccounts : (array[string])
extraTokens : (array[string])
roles :
address: (string) - account bech32 address
canCreate : (boolean) - this role allows one to create
canBurn: (boolean) - users may "burn" some of their tokens, reducing the supply - default value: false
canAddQuantity : (boolean) - this role allows one to add quantity of a specific SFT
canUpdateAttributes : (boolean) - this role allows one to change the attributes of a specific NFT
canAddUri : (boolean) - this role allows one add URIs for a specific NFT
canTransferRole : (boolean) - this role enables transfer only to specified addresses
roles : (array[string]) - the list of the roles
count : (number) - the total number of NFT/SFT/MetaESDT where the account is owner
Example Request and Result for /accounts/{address}/collections