Skip to content

Overview

The Cardano Token Metadata Registry answers one question about Cardano native tokens: what is it called, and how should it be shown? It combines CIP-26 and CIP-68 metadata into one response. For programmable tokens, it also returns information from the CIP-113 on-chain registry.

StandardWhere the metadata livesServed as
CIP-26a JSON file in the Cardano token registry on GitHubsource: "CIP_26"
CIP-68the inline datum of a reference NFT on chain; fungible tokens (label 333) and rich fungible tokens (label 444)source: "CIP_68"

CIP-113 programmable tokens have a separate extension: type: "PROGRAMMABLE" and extensions.cip113 identify the policy’s programmable-token scripts. Their names, tickers and logos still come from the two metadata sources above.

  • Show tokens in a wallet, an explorer or a DEX: one request per token, or a batch. Getting started
  • Find out why a token looks wrong: every response lists its validation_errors, naming the field and the rule. Validation errors
  • Run your own registry to size the service for your workload and upgrade on your schedule.

Query /api/v2/subjects/... for one token or a batch, with all properties or only those you name. Getting started walks through the requests; the API reference documents each operation.

A token is identified by its subject: the policy id (56 hex characters) followed by the asset name in hex.

The registry serves tokens as they are written, even when they break their standard, and reports validation errors. A wallet decides how strict to be:

  • ?validation=ALL (the default): every indexed token, with its errors.
  • ?validation=MANDATORY_ONLY: only tokens with no error in a field their standard requires.
  • ?validation=STRICT: only tokens with no reported validation errors.

Which fields are mandatory, how to choose a level, and why a token may not appear at all: A permissive registry.

Built on Yaci Store and cardano-client-lib by BloxBean.