Layers

Layers are individual assets that, when combined, produce token artwork

Storage

Tableland

The Layers table in Tableland has the following schema:

{
    "id": integer (PK)
    "trait_type": text
    "value": text
    "cid": text
    "rarity_weighting": integer
    "order": integer
    "created_at": text
}
  • id: Integer (primary key) representing the row of the entry

  • trait_type: Category for the type within the context of the collection (e.g., background, eyes, face, etc.)

  • value: Specific layer string identifier of a category within trait_type (e.g., blue, sleepy, surprised, etc.)

  • cid: IPFS content hash for the layer artwork. This hash is inserted into an IPFS gateway in the Opal UI to fetch the content from IPFS

  • order: Integer representing order in which the layer appears relative to the other layers (e.g., background is 1, body is 2, face is 3, eyes is 4, etc.)

  • created_at: Date at which the layer was uploaded to the Opal UI

Last updated