Skip to main content

Create Collection

The create collection endpoint deploys a custom ERC1155 smart contract to your EVM chain of choice and includes your provided ascii artwork.

Note: the collection name will be converted to PascalCase for the smart contract title.

Endpoint

POST https://api.juicelabs.io/v1/collections

Authorization Header

X-API-KEY: [YOUR_API_KEY]

Request Body

{
"name": "Awesome Coachella NFT",
"symbol": "CHELLA",
"asciiArt": "\n \n\t\n ____ _______________ __ ___ ___ ____\n __ / / / / / _/ ___/ __/ / / / _ | / _ )/ __/\n / // / /_/ // // /__/ _/ / /__/ __ |/ _ |\\ \\ \n \\___/\\____/___/\\___/___/ /____/_/ |_/____/___/ \n \n \n",
"network": "sepolia",
"teamId": "{{teamId}}"
}

Response Shape

{
"success": true,
"data": {
"...": "..."
}
}