Skip to content

Tokens & Metadata

A token is an individual NFT within a collection. Each token has metadata that describes it — its name, image, traits, and other properties.

Every token includes:

FieldDescription
nameDisplay name of the token
descriptionText description
imageMediaIdHandle for the primary visual asset — resolve the URL via client.media.get
animationMediaIdHandle for an optional animated asset (video, HTML, etc.) — resolve the URL via client.media.get
attributesArray of { trait_type, value, display_type? } — read-side matches ERC-721 metadata JSON
propertiesFreeform key/value object
mintedAtISO timestamp; null for un-minted placeholder tokens

All tokens in an edition share the same metadata. When you set the name, image, and description for the edition, every minted token inherits those values.

Each token has unique metadata. You upload individual assets and define attributes per token. Tokens can be queried and filtered by their attributes.

Token metadata is generated at mint time. The image is captured from your generative code’s output, and the seed used for generation is stored as part of the token’s data.

Attributes are key-value pairs that describe traits of a token:

{
"trait_type": "Background",
"value": "Gold"
}

Attributes are used for:

  • Display — Showing traits on token detail pages
  • Filtering — Searching tokens by trait values
  • Gate conditions — Token attribute gates check for specific traits

Tokens can be listed and filtered by:

  • Collection
  • Owner wallet address
  • Attribute values
  • Name search
  • Minted date (mintedAt)