Deploy a contract
Registering a collection
The first step to launch your NFT project is to register a collection. For more information on the acceptable values, check the API reference
curl --request POST \
--url https://staging.crossmint.com/api/v1-alpha1/collections \
--header 'content-type: application/json' \
--data '
{
{
"chain": "string",
"contractType": "erc-721",
"args": {
},
"metadata": {
"title": "string",
"description": "string",
"imageUrl": "string",
}
}
}'
Updating your collection information
You can edit an existing collection with the following endpoint
curl --request PUT \
--url https://staging.crossmint.com/api/v1-alpha1/collections \
--header 'content-type: application/json' \
--data '
{
"clientId": "string",
"metadata": {
"title": "string",
"imageUrl": "string",
}
}'
Request information about a collection
curl --request GET \
--url https://staging.crossmint.com/api/2022-06-09/collections/YOUR_COLLECTION_ID
List all collections
curl --request GET \
--url https://staging.crossmint.com/api/2022-06-09/collections/
Updated 22 days ago