LogoLogo
Developer DashboardMarketplaceDeveloper Discord
  • Getting Started
    • 👋Welcome to Altura
    • ➕Creating a Project
    • â›―Blockchains & Gas Fees
    • 🖞ïļMinting and Importing NFTs
      • Minting Individual NFTs
      • Importing Collections
      • Bulk Mint NFTs
      • Lazy Mint (Primary Sales)
    • 🔗Linking Your Collections
    • ðŸ’ģThe Developer Wallet
    • 🧠Smart NFTs
    • 🎁Lootboxes
    • 🔑Getting Your API Key
    • ðŸŽŪIntegrating Altura
    • ðŸ‘ĨAuthenticating Users
      • Altura Guard (Legacy)
      • Altura Guard II
        • Integration
        • REST API Demo
  • Altura Intelligence
    • 🧑‍ðŸĶēNPC Engine
      • ðŸĪĩNPC Engine +
    • 🌎World Engine
    • ðŸ’ģPlay Wallet
    • 💁Concierge
  • Marketplace
    • 🛍ïļThe Altura Marketplace
    • ðŸŽŊListing Your Game on the Altura Marketplace
    • ✅Getting Your Collections Verified
    • ðŸŽĻCreate Your Own White-Label Marketplace
  • 🌐API Reference
    • Get Endpoints
      • Verify a User's Altura Guard Code
      • Get User
      • Get Many Users
      • Get a User's Items
      • Get Item
      • Get Items
      • Get an Item's Holders
      • Get an Item's History
      • Get Collection
      • Get Collections
      • Get a User's Item Balance
      • Get a User's ERC20 Balance
      • Get a User's Native Token Balance
      • Get a User's Domain Names (Space ID)
      • Get a User From Domain Name (Space ID)
    • Developer Wallet Endpoints
      • Transfer ERC1155
      • Bulk Transfer ERC1155
      • Mint New ERC1155 NFT
      • Mint Additional Supply of ERC1155
      • Transfer ERC721
      • Transfer ERC20
      • Consume an Item (ERC1155)
    • Smart NFT Endpoints
      • Update an Item's Property
      • Add New Properties
      • Remove Properties
      • Bulk Update an Item's Properties
      • Switch an Item's Primary Image
      • Add a New Image
      • Update an Item's Name & Description
      • Update a Collection's Metadata
    • Altura Guard II
      • Connect to user wallet
      • Revoke Connection
      • Check Connection
      • Transaction Requests
        • Polling Transaction Response
        • Submitting a signature request
        • Submitting a native transaction request
        • Submitting a contract transaction request
  • ⚙ïļUnity SDK Reference
    • Installation
    • Get Methods
      • Verify a User's Altura Guard Code
      • Get User
      • Get Users
      • Get Item
      • Get Items
      • Get an Item's Holders
      • Get an Item's History
      • Get Collection
      • Get Collections
      • Get a User's Item Balance
      • Get a User's ERC20 Balance
      • Get a User's Native Token Balance
    • Schemas
  • ⚙ïļJS SDK Reference
    • Installation
    • Get Methods
      • Verify a User's Altura Guard Code
      • Get User
      • Get Many Users
      • Get a User's Items
      • Get Item
      • Get Items
      • Get an Item's Holders
      • Get an Item's History
      • Get Collection
      • Get Collections
      • Get a User's Item Balance
      • Get a User's ERC20 Balance
      • Get a User's Native Token Balance
    • Developer Wallet Methods
      • Transfer ERC1155
      • Bulk Transfer ERC1155
      • Mint Additional Supply of ERC1155
      • Transfer ERC721
      • Transfer ERC20
      • Consume an Item (ERC1155)
    • Smart NFT Endpoints
      • Update an Item's Property
      • Add new Properties
      • Remove Properties
      • Bulk Update an Item's Properties
      • Switch an Item's Primary Image
      • Add a New Image
      • Update an Item's Name & Description
      • Update a Collections Metadata
    • Altura Guard II
      • Connect to a user's wallet
      • Revoke Connection
      • Check Connection
      • Transaction Requests
        • Submitting a signature request
        • Submitting a native transaction request
        • Submitting a contract transaction request
    • Connect to Web3 Wallet
    • Schemas
Powered by GitBook
On this page
  1. Getting Started

Smart NFTs

PreviousThe Developer WalletNextLootboxes

Last updated 2 years ago

Smart NFTs are an evolution of the traditional non-fungible token (NFT), allowing NFTs to become dynamic, programmable, and interactive assets that can change over time. In contrast to conventional NFTs, which have static data, Smart NFTs can be modified after minting to change properties, images, and more. This allows developers to build games and other applications that can interact with NFTs in real time, opening up new possibilities for gaming experiences.

Smart NFTs also provide additional functionality, such as adding or updating properties and images after minting, which can enhance the value of NFTs and provide new revenue streams for creators.

To update NFTs, you can use the API or JavaScript SDK. You'll need to provide the API key from the project to which the collections are linked. Note that the API key can only update NFTs of collections linked to that project.

Smart NFT API reference

Smart NFT JS SDK reference

Smart NFT Features

Properties

Altura NFTs allow you to store and update any information you want to retain about an item in its properties. This could include health, wear, evolution, and more. Properties are divided into two types: static and non-static.

Static properties are properties of an NFT that cannot be modified after minting. Examples of static properties include an NFT's rarity, edition number, or artist name.

Non-static properties, on the other hand, can be modified after minting using Smart NFT technology. Examples of non-static properties include an NFT's health, level, or experience points. Non-static properties enable developers to create dynamic gameplay experiences and build games that evolve over time.

When minting an NFT, you can define the initial static and non-static properties. Later, using Smart NFT endpoints, you can modify the non-static properties in-game, giving developers a powerful tool for creating complex and engaging game mechanics.

Images

Altura NFTs allow you to upload multiple images for an NFT and even set one as the primary image. When minting an NFT, you can upload several images and order them as you see fit. The primary image can be any of the uploaded images, not just the first.

Using the Smart NFT endpoints, you can switch the primary image of an NFT. To do this, specify the index of the image you want to switch to using the updatePrimaryImage feature. For example, if you want to switch to the third uploaded image, you would specify image index 2.

You can also upload new images after an NFT has been minted. To do this, pass the URL of the new image along with the index you want to place the image in. You can also specify whether you want to automatically set the new image as the primary image or keep the primary image unchanged.

Name & Description

Another property that can be updated with Smart NFTs is an item's name and description. Simply provide the item ID and the updated name and description, and the NFT metadata will be updated accordingly. This feature can be particularly useful when you want to update an item's information to reflect changes in the game.

🧠
Smart NFT Endpoints
Smart NFT Endpoints