---
title: "Dynamic NFT (dNFT) — definition | Nuri Glossary"
description: "A token whose image or metadata changes as conditions change."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/dynamic-nft"
---

# Dynamic NFT (dNFT)

A token whose image or metadata changes as conditions change.

## Basically

An NFT can change its picture or details after it is made. Outside events or activity on its blockchain can trigger these changes.

## Key Takeaways

- A dynamic NFT (dNFT) is a non-fungible token whose metadata can change after minting. A static NFT has attributes that stay fixed at creation.
- Smart contract logic, oracle data feeds or automation services trigger metadata updates. The token ID and contract address stay the same while images, stats or descriptions change.
- Dynamic NFTs support game characters that level up, real estate tokens with current property data and sports collectibles with live player statistics. Mutable metadata also brings trust and security risks that you should evaluate.

## What Is a Dynamic NFT?

A dynamic NFT (dNFT) is a non-fungible token whose metadata can change after minting. Its smart contract contains logic that updates fields such as the image, description or attribute values when predefined conditions are met. The token keeps the same token ID and contract address on the blockchain, while only the data it points to or generates changes.
Static NFTs have metadata that is set once and never modified. A static NFT representing digital artwork always displays the same image and description, while a dynamic version could change colours with the time of day, reveal new layers as holders complete tasks or update provenance records as ownership changes.
Dynamic NFTs emerged because many real-world assets and digital experiences are not static. Tokenising a property, game character or financial instrument as a static NFT creates a snapshot that becomes stale. dNFTs encode update logic in the token's contract so the on-chain representation stays in sync with the reality it models.

## How It Works

Dynamic NFTs typically use the ERC-721 or ERC-1155 token standards. Their key mechanism is the tokenURI function in the ERC-721 metadata extension, which a wallet, marketplace or application calls as tokenURI(tokenId) to display an NFT. The contract returns a URI pointing to JSON metadata containing the token's name, description, image and attributes.
A static NFT has a URI that is set at mint time and never changes. A dynamic NFT overrides tokenURI to return different metadata based on on-chain state, oracle data or computed values. There are three primary technical approaches.

## On-Chain SVG Rendering

The contract generates SVG artwork and JSON metadata entirely on-chain. Its tokenURI function builds the SVG string in Solidity, base64-encodes it into the image field of a JSON object, then base64-encodes the whole JSON and returns it as a data:application/json;base64, URI. The output can respond to any on-chain variable, including block number, token ownership history, staking duration or stored attribute values.
On-chain rendering keeps metadata fully decentralised, so no external server can disappear or be censored. Complex artwork brings higher gas costs because every byte of SVG increases deployment and rendering expense.

## Oracle-Triggered Metadata Updates

An oracle connects external data with the blockchain when a dNFT needs sports scores, weather conditions or asset prices. The contract stores the current metadata state and exposes an update function that only the oracle or an authorised caller can invoke.
A typical flow works as follows. The exact steps depend on the contract and the oracle setup.
Oracle networks like Chainlink provide data feeds, verifiable randomness (VRF) and cross-chain interoperability (CCIP) for dNFT contracts. VRF is particularly useful for gaming NFTs that need provably fair random trait generation.

## Automation-Driven Changes

Automation services such as Chainlink Automation monitor conditions and call contract functions when metadata updates need a schedule or specific on-chain conditions without manual intervention. A dNFT representing a time-locked vault could update its visual state each day as the unlock date approaches. An automation service would call the update function at regular intervals.

## Gaming and Virtual Items

Blockchain-based games often need characters and items to reflect player progress. A sword NFT could display increased damage stats as you complete quests, or a character NFT could visually evolve as it levels up, without minting new tokens for every state change. The contract stores the item's current level and attributes, tokenURI renders the appropriate appearance, and Chainlink VRF can add provably fair randomness for loot drops and trait generation.

## Real-World Asset Tokenisation

Tokens representing real-world assets like property deeds should reflect current data such as assessed value, maintenance history, zoning changes or ownership transfers. A static token would need reissuing whenever the underlying data changes. A dNFT can update automatically as oracles supply new property data, keeping the on-chain representation accurate without disrupting ownership or marketplace listings.

## Sports Collectibles

Sports-themed dNFTs update with live player statistics. A basketball collectible can display current season averages for points, assists and rebounds, with oracle feeds refreshing the metadata after each game. The LaMelo Ball NFT collection is one well-known example where token attributes changed based on the player's real performance data.

## Loyalty and Membership Programmes

A membership NFT can unlock new visual tiers as holders accumulate points or tenure. One dNFT can upgrade its appearance and associated benefits as conditions are met instead of issuing separate tokens for Bronze, Silver and Gold membership levels. Compressed NFT loyalty programmes on Solana work similarly by reducing issuance costs while maintaining per-user state.

## Trust Implications of Mutable Metadata

Static NFTs offer immutability because nobody can change their metadata after minting. Dynamic NFTs deliberately give up this guarantee. Buyers and builders must evaluate the resulting trust considerations carefully.

## Who Controls Updates?

The key question for any dNFT is who has permission to change the metadata. Common models include different allocations of update rights. These permissions determine who can alter the token after minting.

## Metadata Storage Risks

Metadata may be stored off-chain even when its update logic is on-chain. A centralised server operator can change, censor or remove metadata at any time, while decentralised storage networks like IPFS and Arweave reduce this risk but may still depend on pinning services for long-term availability. Fully on-chain metadata, as in SVG rendering, eliminates the storage risk at the cost of higher gas.

## Oracle Dependency

dNFTs that rely on oracle feeds inherit the oracle's failure modes. Stale, incorrect or manipulated data produces inaccurate NFT metadata, while oracle downtime can prevent updates and leave the token stale. Oracle reliability is a critical infrastructure concern for high-value use cases like RWA settlement.

## Smart Contract Complexity

Dynamic update logic adds smart contract complexity and increases the attack surface. Attackers can exploit bugs in update functions, access control misconfigurations or reentrancy vulnerabilities in metadata-setting functions. A thorough smart contract audit is especially important for dNFTs because a flaw can cause financial loss and damage every token's identity.

## Gas Costs

On-chain metadata generation and frequent updates consume gas. Rendering complex SVGs in Solidity can cost significantly more than storing a simple IPFS hash, and regular updates for collections with thousands of tokens can become a major operational expense. Layer 2 solutions and alternative chains with lower fees can reduce these costs but add their own trust and bridging considerations.

## Legal and IP Uncertainty

Changeable dNFT metadata raises questions about what you actually own after purchase. An issuer's ability to alter a collectible's appearance makes traditional notions of digital ownership and intellectual property harder to apply. Licensing terms that reference a specific image may not account for future mutations of that image.

## Marketplace Compatibility

NFT marketplaces and wallets do not all handle dynamic metadata well. Some cache metadata aggressively and refresh only on manual request, while the ERC-4906 standard uses MetadataUpdate events to signal changes but does not have universal adoption. You may see an outdated version of a dNFT until the platform fetches its metadata again.
This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
