/collections/:collection:
Returns non-fungible/semi-fungible/meta-esdt collection details
Parameters
collection: REQUIRED(string)- The information about the NFT or SFT, like picture traits or tags for your NFT/collection
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/ARCRACING-bcdf83' \
-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,
"roles": [
{
"address": "erd1qqqqqqqqqqqqqpgq9m2c2xhukgkx4u56yne7l2yx5yvstvd8ys5s20ne4m",
"canCreate": true,
"canBurn": false,
"canAddQuantity": false,
"canUpdateAttributes": false,
"canAddUri": false,
"canTransferRole": false,
"roles": [
"ESDTRoleNFTCreate"
]
}
]
}