Links

Creating a Collection

The following page explains how to create your Enjin Collection using the Enjin Platform UI or the Enjin Platform API.

Create a Collection using the Enjin Platform UI

Log into the Platform UI and navigate to the Collections page. Next, click the Create Collection button and fill in the form to set up the transaction that will create your collection on-chain.

Create a Collection using the Enjin Platform API

Please refer to the API Docs for the CreateCollection mutation, or use the GraphiQL Docs Explorer (available once you have set an Authorization header, or are logged in to the Platform UI).
mutation CreateCollection {
CreateCollection(
mintPolicy: {
forceSingleMint:true
}
) {
id
transactionId
transactionHash
method
state
encodedData
wallet {
account {
publicKey
address
}
}
idempotencyKey
}
}
This mutation will set up a new transaction that once finalized on-chain will contain the new collection id in the transaction events. A WebSocket event will also be fired so you can pick up the collection in real time by listening to the app channel on the WebSocket.
© 2023 Enjin Pte. Ltd.