/collections
Returns non-fungible/semi-fungible/meta-esdt collections
Parameters
fromOPTIONAL(number)- Number of items to skip for the result setsizeOPTIONAL(number)- Number of items to retrievesearchOPTIONAL(string)- Search by collection identifieridentifiersOPTIONAL(array[string])- Search by collection identifiers, comma-separatedtypeOPTIONAL(array[string])- Filter by type (NonFungibleESDT/SemiFungibleESDT/MetaESDT)creatorDEPRECATED(string)- Filter collections where the given address has a creator rolebeforeOPTIONAL :(number)- Return all collections before given timestampafterOPTIONAL :(number)- Return all collections after given timestampcanCreateOPTIONAL(boolean)- Filter by property canCreatecanBurnOPTIONAL(boolean)- Filter by property canBurncanAddQuantityOPTIONAL(boolean)- Filter by property canAddQuantitycanUpdateAttributesOPTIONAL(boolean)- Filter by property canUpdateAttributescanAddUriOPTIONAL(boolean)- Filter by property canAddUricanTransferRoleOPTIONAL(boolean)- Filter by property canTransferRole
Returns
collection:(string)- Represents additional information about the NFT or SFT, like picture traits or tags for your NFT/collection. The field should follow ametadata:ipfsCID/fileName.json;tags:tag1,tag2,tag3formattype:(string)- Enum [NonFungibleESDT, SemiFungibleESDT, MetaESDT]name:(string)- The username specific for this accountticker:(string)- a random string starts with “-” and has 6 more random charactersowner:(string)- the owner's addresstimestamp:(number)- u64 formatcanFreeze:(boolean)- The token manager may freeze the token balance in a specific account, preventing transfers to and from that account - default value:falsecanWipe:(boolean)- The token manager may wipe out the tokens held by a frozen account, reducing the supply - default value:falsecanPause:(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 balanceassets:website:(string)description:(string)status:active/inactivepngUrl:(string)svgUrl:(string)lockedAccounts:(array[string])extraTokens:(array[string])
roles:address:(string)Account bech32 addresscanCreate:(boolean)- This role allows one to createcanBurn:(boolean)- Users may "burn" some of their tokens, reducing the supply - default value:falsecanAddQuantity:(boolean)- This role allows one to add quantity of a specific SFTcanUpdateAttributes:(boolean)- This role allows one to change the attributes of a specific NFTcanAddUri:(boolean)- This role allows one add URIs for a specific NFTcanTransferRole:(boolean)- this role enables transfer only to specified addressesroles:(array[string])- the list of roles
Example
Request
curl -X 'GET' \
'https://elrond-api.public.blastapi.io/collections?search=ARCRacing' \
-H 'accept: application/json'
Result
[
{
"collection": "ARCRACING-bcdf83",
"type": "NonFungibleESDT",
"name": "ARCRacing",
"ticker": "ARCRACING-bcdf83",
"owner": "erd1qqqqqqqqqqqqqpgq9m2c2xhukgkx4u56yne7l2yx5yvstvd8ys5s20ne4m",
"timestamp": 1661507550,
"canFreeze": false,
"canWipe": false,
"canPause": false,
"canTransferNftCreateRole": false
},
{
"collection": "ARCRC-f7eb84",
"type": "NonFungibleESDT",
"name": "ARCRacingNFT",
"ticker": "ARCRC-f7eb84",
"owner": "erd1qqqqqqqqqqqqqpgq9m2c2xhukgkx4u56yne7l2yx5yvstvd8ys5s20ne4m",
"timestamp": 1661503596,
"canFreeze": false,
"canWipe": false,
"canPause": false,
"canTransferNftCreateRole": false
}
]