GET
/
2022-06-09
/
collections
/
{collectionId}
/
nfts
/
{id}
curl --request GET \
  --url https://staging.crossmint.com/api/2022-06-09/collections/{collectionId}/nfts/{id} \
  --header 'X-API-KEY: <api-key>'
  {
    "id": "<string>",
    "metadata": {
      "name": "<string>",
      "image": "<string>",
      "description": "<string>"
    },
    "onChain": {
      "status": "success",
      "tokenId": "<string>",
      "owner": "<string>",
      "txId": "<string>",
      "contractAddress": "<string>",
      "chain": "polygon"
    },
    "action": "https://staging.crossmint.com/api/2022-06-09/actions/<actionId>"
  }
  {
    "id": "<string>",
    "metadata": {
      "name": "<string>",
      "image": "<string>",
      "description": "<string>"
    },
    "onChain": {
      "status": "success",
      "tokenId": "<string>",
      "owner": "<string>",
      "txId": "<string>",
      "contractAddress": "<string>",
      "chain": "polygon"
    },
    "action": "https://staging.crossmint.com/api/2022-06-09/actions/<actionId>"
  }

Authorizations

X-API-KEY
string
header
required

Path Parameters

collectionId
string
default:
default-solana
required

Every project can mint to their pre-built collections (with IDs 'default-solana' or 'default-polygon'), or use the create-collection endpoint

id
string
required

Unique ID of the mint as returned as part of the NFT creation response

Response

200
application/json
Success.
id
string
required
onchain
object
required
metadata
object