v1

latestOpenAPI 3.0.12026-07-2699111970.1 KB
NFT Collections

Create Collection

Create a collection that you can mint NFTs/SFTs from

API scope required: collections.create

post/2022-06-09/collections/

Request body

chain'aptos' | 'arbitrum' | 'arbitrum-sepolia' | 'avalanche' | 'avalanche-fuji' | 'base' | 'base-sepolia' | 'bsc' | 'chiliz' | 'chiliz-spicy-testnet' | 'ethereum' | 'ethereum-sepolia' | 'optimism' | 'optimism-sepolia' | 'polygon' | 'polygon-amoy' | 'shape' | 'shape-sepolia' | 'skale-nebula' | 'skale-nebula-testnet' | 'solana' | 'soneium-minato-testnet' | 'xai' | 'xai-sepolia-testnet' | 'zora' | 'zora-sepolia' required

Blockchain you would like to use for this collection

fungibility'non-fungible' | 'semi-fungible'

Whether or not this collection is fungible. EVM and Solana collections may be set as semi-fungible.

transferableboolean

Whether or not NFTs in this collection are transferable. Supported on EVM and Aptos chains. (For subscriptions must be set to false)

supplyLimitnumber

The maximum number of tokens that can be minted for this collection

reuploadLinkedFilesboolean

Any URLs in the metadata object will be resolved and reuploaded to IPFS [Default: true]

Example request

{
  "chain": "polygon",
  "metadata": {
    "name": "Sample NFT Collection",
    "imageUrl": "https://www.crossmint.com/assets/crossmint/logo.png",
    "description": "This is a sample NFT collection",
    "symbol": "TOKEN"
  }
}

Response

Success.

idstring
fungibilitystring
actionIdstring

Example response

{
  "id": "5263650e-6d43-4ed3-9e31-0cf593d076a4",
  "metadata": {
    "name": "Sample NFT Collection",
    "description": "This is a sample NFT collection",
    "imageUrl": "https://www.crossmint.com/assets/crossmint/logo.png",
    "symbol": "TOKEN"
  },
  "fungibility": "non-fungible",
  "onChain": {
    "chain": "polygon",
    "type": "erc-721"
  },
  "actionId": "5263650e-6d43-4ed3-9e31-0cf593d076a4"
}