Tokens

Tokens represent the metadata of each individual token in a collection

Storage

Tableland

The Tokens table in Tableland has the following schema:

{
    "id": integer (PK)
    "name": text
    "description": text
    "image": text
    "rarity": integer
    "created_at": text
}
  • id: Integer (primary key) representing the row of the entry

  • name: Token name (e.g., CryptoPunk #10)

  • description: Token description (e.g., CryptoPunks launched as a fixed set of 10,000...)

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

  • rarity: Integer representing the rarity of the token relative to the other tokens. This is calculated using the OpenRarity methodology

  • created_at: Date at which the token was created in the Opal UI

Last updated