NFT Collections
Set Royalties
Configure royalties for all NFTs in a collection.
This API is only supported for EVM chains and implements the EIP-2981 standard.
API scope required: collections.update
put/v1-alpha1/minting/collections/{collectionId}/royalties
Request
- Base URLhttps://staging.crossmint.com/api
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
collectionIdstring required
This is the identifier for the collection related to the request. Every project has default collections: default-solana and default-polygon.
The create-collection API will result in collections with UUID formatted collectionId. Example: 9c82ef99-617f-497d-9abb-fd355291681b
The create-collection-idempotent API allows you to specify an arbitrary identifier during the initial request. Example: your-custom-identifier
Request body
Example request
{
"recipients": [
{
"address": "0x71C...",
"basisPoints": 100
}
]
}Response
No-content success response indicating that the request is being processed.
Changes
No recorded changes to this operation across all 1 revision of this API.