Create Collection (Idempotent)
Create a new collection with specified ID, which you can mint NFTs from
Replace:
<QUICKNODE_URL>
: Set to your own quicknode RPC URL<collectionSlug>
: the slug for your collection, which will serve as its ID
Parameters
Index | Name | Type | Description |
---|---|---|---|
0 | chain | string | chain - currently only “solana” and “polygon” are supported through this RPC method |
1 | collectionSlug | string | the slug which serves as the ID for your named collection |
2 | metadata | object | An object containing required fields “name”, “description”, and optionally “imageUrl” |