v1

latestOpenAPI 3.0.12026-07-2699111970.1 KB
NFT Collections

Set Base URI

Update the Base URI of a collection. Setting the baseURI enables excluding the metadata param when minting. Tokens minted without the metadata param will have a tokenURI of:

{BASE_URI}/{TOKEN_ID}

This API is currently only supported on EVM Chains.

API scope required: collections.update

put/v1-alpha1/minting/collections/{collectionId}/base-uri

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

uristring

The new Base URI

Example request

{
  "uri": "https://www.example.com"
}

Response

No-content success response indicating that the request is being processed