Assets/NFTs

Assets/NFTs belong to a collection. When they are minted, they are assigned a serial number which corresponds to the minting order. Assets always belong to a specific user. In order for an app to perform actions with specific assets through the API, they need permission from the user which owns that asset.

NFT Data Model

  • nftId: a UUID for the Asset/NFT

  • serial: the serial number for the Asset/NFT based on the minting order

  • location: the blockchain location of the Asset/NFT

  • collectionId: the collection to which the Asset/NFT belongs

  • owner: the user who owns the Asset/NFT. The Asset/NFT is in the owner's wallet

  • createdAt: date-time at which the Asset/NFT was created

  • updatedAt: date-time at which the Asset/NFT was last updated

  • properties: editable key-value pairs used to store data about an individual Asset/NFT organized by app. Each app which access to an Asset/NFT can create and edit its own properties.

  • expressionValues: the expression values for an Asset/NFT (see Expressions for details)

Example Asset/NFT Data

"nftId": "14c2cd7cba4d2f87120c1eb4a25e3ea8",
"serial": 28,
"location": "455f655101250e92f1b6820bba3d5cd2517d7a66f007d0b33a7eb9543807174c_o1",
"collectionId": "636fbbdd035f0a9460c44d37",
"createdAt": 1668450219949,
"updatedAt": 1668450219949,
"properties": {
  "636e9af9318fdb5bb604a365": {
    "test": 8
  }
},
"expressionValues": [
  {
    "value": "https://asset-api-files-bucket.s3.amazonaws.com/fbe269d5-e1fe-4cb8-8fa1-6cb95772e338.png",
    "expressionValueId": "636fc1062093334365821195",
    "expressionAttribute": {
      "expressionAttributeName": "Image",
      "expressionAttributeId": "62f83b2482081d6f89953fa7"
    },
    "expression": {
      "expressionName": "Test Expression",
      "expressionId": "636fc091035f0a2f52c44fb1"
    }
  }
]

Last updated