API Playground
Create Collection
Create a collection (NFT) on AssetHub. Collections are created asynchronously and contain a status of their progression. “Pending” means that the collection database record was created and is pending to be submitted to the blockchain. “Processing” means that the collection is being created on the blockchain. “Created” means that the collection was created on the blockchain and is awaiting metadata to be set. “CreatedWithMetadata” means that the collection was created on the blockchain and the metadata was set. The metadata is a separate blockchain transaction. “Failed” means that the collection creation failed on the blockchain.
POST
/
v1
/
collections
Authorizations
x-api-key
string
headerrequiredThe API Key you were given in the developer portal.
Body
application/json
name
string
requiredmetadata
string
requiredchain
enum<string>
requiredAvailable options:
WestendAssetHub
Response
201 - application/json
id
string
requiredcreatedAt
string
requiredupdatedAt
string
requiredname
string
requiredstatus
enum<string>
requiredAvailable options:
Pending
, Processing
, Created
, CreatedWithMetadata
, Failed
metadata
string
requiredowner
string
creator
string