Attributes

Attributes connect Layers with Tokens

The Attributes table acts as an intermediate table to connect the Layers table and the Tokens table. Each row consists of a token id and a layer id. This allows token data and layer data to be joined on each other which ultimately yields the necessary NFT metadata.

Storage

Tableland

The Attributes table in Tableland has the following schema:

{
    "token_id": integer (FK)
    "layer_id": integer (FK)
}
  • token_id: Integer representing an id in the Tokens table

  • layer_id: Integer representing an id in the Layers table

Last updated