Explaining the Token Metadata Registry v2.0.2 Updates

4 December 2026 • Engineering & Research
10 min read
Senior Software Architect
Senior Software Architect
Mateusz Czeladka
Explaining the Token Metadata Registry v2.0.2 Updates

cf-token-metadata-registry v2.0.2 adds CIP-113 support with breaking API updates for exchange and wallet integrations

The Cardano Foundation has released the latest version of the cf-token-metadata-registry, Cardano’s metadata server to return technical and human-readable details related to tokens. It adds native support for programmable tokens (CIP-113), as well as support for rich fungible tokens.

Version 2.0.2 also changes how the registry handles tokens with metadata that does not follow the on-chain native tokens (CIP-68) specification. Non-compliant tokens are now returned together with structured validation errors, for projects minting and owning the tokens; it makes it easier to identify what went wrong and what needs changing.

These changes affect the V2 API, and some of them are backwards-incompatible. If you run an exchange, a wallet, or a DeFi protocol that uses the registry, please read the sections on breaking changes and the migration timeline.

What's new

1. CIP-113 programmable tokens support

CIP-113 is a programmable tokens framework that sits on top of native asset tokens, such as CIP-26 or CIP-68 tokens. Under CIP-113, smart contract scripts govern who owns a token and under what conditions it can be transferred. Compliance rules are enforced directly on-chain.

This has a practical consequence for integrators: A CIP-113 token can be permanently locked within its contract architecture, with no way for the holder to move it outside the rules the scripts define. Wallets and exchanges need to remember this when displaying or accepting these tokens.

The registry now exposes CIP-113 data in two places:

  • type – a new top-level field with the value NATIVE or PROGRAMMABLE; a PROGRAMMABLE token is governed by a smart contract and has the possibility of linking a CIP-26 or CIP-68 token to it to provide its descriptive metadata;
  • extensions.cip113 – a new object that holds the script references defined by CIP-113, including the minting, transfer and third-party transfer logic scripts, the unfracking logic script, and the global state policy ID.

Here is a request and response for a valid CIP-113 token on pre-prod (using the Eternl’s wallet test token):

GET /api/v2/subjects/ae538f7d15688d9d2ef3415e8943aa77219e91d7d0c06beaf02350b80014df10455445524e4c5f434950303131335f5257415f54455354?show_cips_details=true
{ "subject": { "subject": "ae538f7d15688d9d2ef3415e8943aa77219e91d7d0c06beaf02350b80014df10455445524e4c5f434950303131335f5257415f54455354", "type": "PROGRAMMABLE", "metadata": { "name": "ETERNL_CIP0113_RWA_TEST", "description": "Eternl CIP-0113 RWA Test Token", "ticker": "ETERNL", "decimals": 6, "logo": null, "url": "https://eternl.io", "version": "1.0", "valid": true, "empty": false }, "standards": { "cip26": { "subject": "ae538f7d15688d9d2ef3415e8943aa77219e91d7d0c06beaf02350b80014df10455445524e4c5f434950303131335f5257415f54455354", "name": "ETERNL_CIP0113_RWA_TEST", "description": "Eternl CIP-0113 RWA Test Token", "ticker": "ETERNL", "decimals": 6, "url": "https://eternl.io", "logo": null }, "cip68": null }, "extensions": { "cip113": { "minting_logic_script": "708f442b9a2c48a40edcfcf84cff50eb059ec725e3a125aa1bf44718", "transfer_logic_script": "c085c9c328a8a12ceeaf25bfd29cd1552b01a26d", "third_party_transfer_logic_script": "87d71ef5f3ec494c21ec3d0f5804251be8afb2bff75a9ca02bdbe0ab", "unfracking_logic_script": null, "global_state_policy_id": "9c797108c48a6cef6354800921526526dde423ab86b735408eb160fe" } }, "validation_errors": [] }, "queryPriority": [ "CIP_68", "CIP_26" ] }

The token is PROGRAMMABLE. Its descriptive metadata comes from the linked CIP-26 entry under standards.cip26, and its CIP-113 script references are under extensions.cip113. The validation_errors array is empty because the token is fully compliant.

2. Token validation

Every subject response now includes a validation_errors array. Each entry provides:

  • which standard the error relates to (CIP);
  • which field is affected (field_name);
  • whether that field is MANDATORY or optional (field_category);
  • a machine-readable error code;
  • and a human-readable description (error).

The following AUSD token on pre-prod is registered in the CIP-113 registry but has no linked CIP-26 or CIP-68 metadata. Version 2.0.2 returns everything it knows about the token and explains what is missing:

GET /api/v2/subjects/d64930a3099fc65c9daf207bf43843284322d6561489008479a86d6a41555344?show_cips_details=true
{ "subject": { "subject": "d64930a3099fc65c9daf207bf43843284322d6561489008479a86d6a41555344", "type": "PROGRAMMABLE", "metadata": { "name": null, "description": null, "ticker": null, "decimals": null, "logo": null, "url": "https://aana.finance", "version": null, "valid": false, "empty": false }, "standards": { "cip26": null, "cip68": null }, "extensions": { "cip113": { "minting_logic_script": "708f442b9a2c48a40edcfcf84cff50eb059ec725e3a125aa1bf44718", "transfer_logic_script": "c085c9c328a8a12ceeaf25bfd29cd1552b01a26d", "third_party_transfer_logic_script": "87d71ef5f3ec494c21ec3d0f5804251be8afb2bff75a9ca02bdbe0ab", "unfracking_logic_script": null, "global_state_policy_id": "9c797108c48a6cef6354800921526526dde423ab86b735408eb160fe" } }, "validation_errors": [ { "cip": "CIP-113", "field_name": "companion_metadata", "field_category": "MANDATORY", "code": "missing_value", "error": "the policy is registered in the CIP-113 registry, but the token has no CIP-26 or CIP-68 metadata: no name or description (mandatory in both), and no ticker, decimals or logo" } ] }, "queryPriority": [ "CIP_68", "CIP_26" ] }

Clients can also choose how strict the registry should be with a new url validation parameter:

OptionBehaviour
ALL (default)Returns all tokens, including those with mandatory or optional validation errors.
MANDATORY_ONLYReturns only tokens with validation errors limited to mandatory fields.
STRICTReturns only fully compliant tokens.

This lets each integrator pick the view that matches how well their product can handle incomplete metadata.

3. CIP-68 rich fungible tokens (label 444)

CIP-68 uses datum labels to tell asset types apart: label 222 for NFTs, label 333 for fungible tokens, and label 444 for rich fungible tokens (RFTs).

The registry now ingests and serves label 444 tokens as well. These tokens have a fungible supply and carry the richer, NFT-style metadata that CIP-68 allows. Like all other tokens, they are reported with validation errors where their metadata falls short of the CIP-68 specification.

Explaining the changes

Breaking backwards compatibility became a necessity. It was a hard decision as it obviously makes it more difficult for clients to migrate and move to it, but unfortunately the original design of the registry did not hold up over time.

To keep the disruption minimal, we did not introduce a V3 API. We did consider releasing the updates as a new V3 API, but the changes for most existing clients are relatively minor and moving to a V3 API would become needlessly cumbersome. Although certain API contracts have changed, for a large portion of our users the necessary adjustments are largely cosmetic, making an update to the V2 API much less disruptive than migrating to an entirely new V3 specification. So instead, we changed the existing V2 API. Most of the changes are additive, with small semantic changes to the existing fields.

The main reason for the change is how CIP-68 tokens are minted in practice. Contrary to CIP-68, CIP-26 tokens are custodial: every submission is checked by a validator in our CI / CD pipeline, and the Cardano Foundation can theoretically decide whether to merge it. The Foundation does not reject the tokens but in theory it could. A CIP-26 token that fails validation is sent back for corrections. CIP-68 tokens, on the other hand, are not validated in advance. Compliant or not, anyone can mint a CIP-68 token in a fully decentralized way.

This led to problems with CIP-68 tokens appearing in earlier versions of the registry. At that time, we chose a simple, opinionated approach: tokens without a name or description, both of which CIP-68 makes mandatory (at least for label 333 tokens), were neither ingested nor served (i.e. didn’t appear in response of the registry and were silently swallowed resulting in HTTP 404). Recently, we also saw tokens and transactions that looked like attacks on the registry.

As we hardened the registry, we found that many minted tokens break the CIP-68 specification. The more hardening we did, the more non-compliant ones we found. Some of them looked inactive, others were clearly in active use and in some cases important to their communities.

This led to a basic change in how the registry works. Strictly dropping every non-compliant token risked hiding real, active assets from users. The registry now follows a different rule: return as much as you can, together with validation errors. It lets the client consuming the registry to enforce how strictly it wants to look and process those tokens.

For example, if a token is missing its name, the registry still returns its description. If a token is missing its description, we return the name. If both are missing, the registry returns whatever possible is there to be returned.

At the same time, if a CIP-68 token's mandatory version is missing or out of bounds, we still return the metadata we have.

In every case, the problems are listed in validation_errors, so that developers can decide how to handle them.

A token is excluded from the API, and subsequently recorded in an internal invalid_token table, only in very rare cases, like a detected attack or a very broken token. At the time of writing such tokens do not exist on mainnet but on pre-prod test network they indeed do.

We believe this new approach could also help actual owners of the tokens because they will see that their CIP-68 token is not compliant and will likely mint a new version of that token that has no validation errors and still follows the CIP-68 specification.

API contract changes

  • New fields: The top-level type field (NATIVE or PROGRAMMABLE) and the extensions.cip113 object.
  • New field validation error reporting: The validation_errors array has been added to responses. It replaces the earlier logic that filtered out non-compliant CIP-68 and CIP-113 tokens.
  • Response structure: V2 subject endpoints return standard-specific metadata under standards. Extended attributes are returned when you request them with query parameters such as show_cips_details=true.
  • Validation options: The new ALL, MANDATORY_ONLY, and STRICT options, with ALL as the default.

Integrators need to update their metadata parsing logic to handle the new schema, especially because before fields like name and description were never null or empty but now, with new policy and changes, we return whatever we have on-chain. This means that, sometimes, even those CIP-68 mandatory fields may be missing.

V1 API deprecation

The V1 API supports neither CIP-68 nor CIP-113. It has been deprecated for some time and is scheduled for full removal (without exact date yet).

If you still use V1, you can only show CIP-26 tokens to your users and, in fact, are already missing a large part of Cardano’s advantages. We encourage you to migrate to V2 as soon as possible.

Migration timeline

To give ecosystem partners time to adapt, version 1.7.0 of the metadata registry will stay available on https://tokens.cardano.org for a grace period of three months, ending on 1 March 2027. After that, tokens.cardano.org will be upgraded to V2.

The new version (V2) is currently accessible at https://v2.tokens.cardano.org. Note that the preprod environment is already running V2 exclusively and will not run both API versions concurrently. Please complete your migration to version 2.0.2 before the grace period ends.

Notes for operators

If you host your own instance of cf-token-metadata-registry bear in mind the following four key aspects:

  • database schema – new tables and indices track CIP-113 policy scripts, global state policies, and validation errors;
  • full resync required – because this is a major release, a full resync from an empty database is required; a fresh mainnet sync takes about nine hours;
  • monitoring – new Prometheus metrics track validation error counts, CIP-113 subject query latency, and V1/V2 API usage;
  • health – monitoring provides operators with endpoints: /actuator/health/startup, /actuator/health/liveness as well as /actuator/health/readiness

What to do now

  1. Upgrade to v2.0.2, or point your integration at a hosted v2.0.2 instance.
  2. Update your parsing logic to handle type, extensions.cip113 and validation_errors.
  3. Choose the validation option (ALL, MANDATORY_ONLY or STRICT) that fits your product.
  4. If you still use the V1 API, move to V2.
  5. Finish the migration within the three month legacy window.

You may also like