Set up royalties

Configure royalties for all NFTs in a collection

For EVM chains, royalties implement the standard EIP-2981, compliant with most marketplaces, including Opensea and Rarible. Note, this API changes royalties for all existing and future NFTs from this collection. Contact us for Solana support.

Changes may take a few seconds to take effect, as it needs to propagate in the blockchain

Add royalties

curl --request PUT \
     --url https://staging.crossmint.com/api/v1-alpha1/minting/collections/YOUR_COLLECTION_ID/royalties \
     --header 'content-type: application/json' \
     --data '
{
     "recipients": [
          {
               "address": "0x71C...",
               "basisPoints": 100
          }
     ]
}
'

Remove royalties

curl --request DELETE \
     --url https://staging.crossmint.com/api/v1-alpha1/minting/collections/YOUR_COLLECTION_ID/royalties

Fetch royalty configuration

curl --request GET \
     --url https://staging.crossmint.com/api/v1-alpha1/minting/collections/YOUR_COLLECTION_ID/royalties \
     --header 'accept: application/json'