GET
/
contracts
/
{contractId}
/
token-types
/
{uriNumber}
curl --request GET \
  --url https://protocol-sandbox.lumx.io/v2/contracts/{contractId}/token-types/{uriNumber} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "uriNumber": 123,
  "contractId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "description": "<string>",
  "maxSupply": 123,
  "currentSupply": 123,
  "traits": {
    "trait1_name": "trait1_value",
    "trait2_name": "trait2_value",
    "trait3_name": "trait3_value"
  },
  "imageUrl": "<string>",
  "metadataUrl": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>.

Path Parameters

contractId
string
required

The ID of the contract to which the token type belongs.

uriNumber
number
required

The sequential identifier of the token type within the contract.

Response

200
application/json

The details of this token type were retrieved successfully

The response is of type object.