GET
/
unstable
/
nfts
/
{nftLocator}
/
credentials
curl --request GET \
  --url https://staging.crossmint.com/api/unstable/nfts/{nftLocator}/credentials \
  --header 'X-API-KEY: <api-key>'
{
  "value": {
    "@context": [
      "https://www.w3.org/2018/credentials/v1",
      "https://github.com/haardikk21/ethereum-eip712-signature-2021-spec/blob/main/index.html",
      "DUMMY_CROSSMINT/64f0c05641a512c86786fd3b"
    ],
    "credentialSubject": {
      "...additional fields": "...",
      "id": "0xSUBJECT_ADDRESS"
    },
    "expirationDate": "2234-12-12",
    "id": "<CREDENTIAL_ID>",
    "issuanceDate": "2023-08-31T16:34:33.854Z",
    "issuer": {
      "id": "did:0xISSUER_ADDRESS"
    },
    "nft": {
      "chain": "polygon",
      "contractAddress": "<collection_contract_address>",
      "tokenId": "<tokenId>"
    },
    "proof": {
      "...additional required fields": "...",
      "proofValue": "ProofValue"
    },
    "type": [
      "VerifiableCredential",
      "64f0c05641a512c86786fd3b"
    ]
  }
}

This is an alpha API and subject to change.

Authorizations

X-API-KEY
string
headerrequired

Obtained in the Crossmint developer console

Path Parameters

nftLocator
string
required

NFT on chain locator, in the format of <chain>:<contract_address>:<tokenId>

Response

200 - application/json

The credential object