LogoLogo
Landing PageMarketplaceDeveloper PortalDeveloper Discord
  • 👋Welcome to Altura
  • Getting started
    • 🚀Altura NFTs
    • đŸ›ī¸The Altura Marketplace
    • đŸĒ…Minting & Importing NFTs
    • 👔Users & Authentication
    • 🔑Altura Guard
  • đŸ’ģDeveloper Portal
    • 🧰The Developer Wallet
  • 🌐REST API
    • 🎴Get Your API Key
    • 🔧Methods
      • đŸ›Ąī¸Authenticate User
      • 👤Get User
      • đŸ‘ĨGet Users
      • đŸ–ŧī¸Get a User's Items
      • đŸ–ŧī¸Get Item
      • 🌈Get Items
      • 👾Get an Item's Holders
      • 📜Get an Item's History
      • 💠Transfer ERC1155
      • 💠Transfer ERC721
      • 💠Bulk Transfer ERC1155
      • 🔮Update an Item's Properties
      • âœī¸Update an Item's data
      • đŸ§ŦBulk Update an Item's Properties
      • đŸĒ„Update an Item's Image
      • 📸Add a New Image
      • đŸĒŸMint Additional Supply
      • 📁Get Collection
      • đŸ—‚ī¸Get Collections
      • đŸĒ„Update Collection
      • đŸĒ™Transfer ERC20
      • â˜‘ī¸Verify item Ownership
      • đŸĒ™Check User's ERC20 Balance
      • 💰Check User's Balance
  • 🔆JavaScript SDK
    • đŸ› ī¸Installation
    • 🔧Methods
      • đŸ›Ąī¸Authenticate User
      • 👤Get User
      • đŸ‘ĨGet Users
      • đŸ–ŧī¸Get User's Items
      • đŸ–ŧī¸Get Item
      • 🌈Get Items
      • 👾Get an Item's Holders
      • 📜Get an Item's History
      • 💠Transfer ERC1155
      • 💠Transfer ERC721
      • 💠Bulk Transfer ERC1155
      • đŸĒŸMint Additional Supply
      • 🔮Update Property
      • đŸĒ„Update Primary Image
      • 🆕Add a New Image
      • 📁Get Collection
      • đŸ—‚ī¸Get Collections
      • đŸĒ„Update Collection
      • đŸĒ™Transfer ERC20
    • đŸŽ›ī¸Schemas
    • âŒ¨ī¸Connector API
  • đŸ•šī¸Unity SDK
    • đŸ› ī¸Installation
    • 🔧Methods
      • đŸ›Ąī¸Authenticate User
      • 👤Get User
      • đŸ‘ĨGet Users
      • đŸ–ŧī¸Get User's Items
      • đŸ–ŧī¸Get Item
      • 🌈Get Items
      • 👾Get an Item Holders
      • 📜Get an Item's History
      • 💠Transfer ERC1155
      • 💠Transfer ERC721
      • 💠Bulk Transfer ERC1155
      • đŸĒŸMint Additional Supply
      • 🔮Update Property
      • đŸĒ„Update Primary Image
      • 📁Get Collection
      • đŸ—‚ī¸Get Collections
      • đŸĒ„Update Collection
      • đŸĒ™Transfer ERC20
    • đŸŽ›ī¸Schema
  • More
    • đŸˇī¸White Label Marketplaces
    • 🛒List Your Game on the Altura Marketplace
    • â˜‘ī¸Get Your Collection Verified
    • 🎁Create a Loot Box
  • 🎮Unreal SDK (ALPHA)
    • đŸ› ī¸Installation (Alpha)
    • đŸ›Ąī¸Authenticate User
    • 👤Get User
    • đŸ‘ĨGet Users
    • đŸ–ŧī¸Get Item
    • 🌈Get Items
    • 👾Get an Item's Holders
    • 📜Get an Item's History
    • 📁Get Collection
    • 📂Get Collections
    • đŸĒ™Get User ERC20 balance
Powered by GitBook
On this page
  • Getting Started
  • Requirements
  • Installation
  • Importing
  • Features

Was this helpful?

  1. Unity SDK

Installation

PreviousConnector APINextMethods

Last updated 2 years ago

Was this helpful?

Using our Unity SDK, you are able to interact with Altura services such as authenticating users using , get Users information and items, get items and collection information and transfer or mint new items.

Getting Started

Requirements

AlturaSDK versions
Supported Unity versions
Supported Platforms

1.0.5

2020.3, 2021.3, 2022.1

Windows, MacOS, Android

Installation

To install Altura Unity SDK, open Unity's Package Manager and click the '+' in the top left corner and select 'Add package from git URL' as shown below:

https://github.com/alturanft/Unity-SDK.git

After you added Altura SDK to Unity, additional packages needs to be installed to do this go to Altura NFT and then click on the 'Install Dependencies' as shown below:

You have successfully installed the Altura SDK, now the last step is to set up your API Key.

Importing

To use Altura SDK in your script, you need to import it like:

using AlturaNFT;

Features

Altura Object

Using Altura object, you are able to allow your users to login easily with Altura Guard, get fast and reliable NFT, User and Collection data also you are able to transfer and mint items!

Method
Description

Use this method to authenticate user with Altura Guard. On success, true is returned.

Use this method to get user information such as Name, Bio, social etc. etc. On success, the data is returned as JSON.

Use this method to get information of multiple users at same time such as Name, Bio, social etc. etc. On success, the data is returned as JSON.

Use this method to get item metadata. On success, the data is returned as JSON.

Use this method to get metadata of multiple Items at same time. On success, the data is returned as JSON.

Use this method to get Collection information. On success, the data is returned as JSON.

Use this method to get information of multiple Collections at same time. On success, the data is returned as JSON.

Transfers a single NFT from your developer wallet to another user

Transfers several items of a particular collection from your developer wallet to a user

Mints additional supply of an existent NFT

User Object

Using user object, you are able to get all user's items!

Method
Description

Use this method to get items of specific user. On success, the data is returned as JSON.

Item Object

Using item object, you are able to get fully data of an item such as all Holders, and History of the item. You are also able to change properties and the primary image of the item.

Method
Description

Updates the value of an item's property

Adds a new image to an items otherImage's array

Collection Object

Method
Description

đŸ•šī¸
đŸ› ī¸
Here you can learn about how to get your Altura API key.
Update()
AuthenticateUser
GetUser()
GetUsers()
GetItem()
GetItems()
GetCollection()
GetCollections()
TransferItem()
TransferItems()
MintAdditionalSupply()
GetUserItems()
GetHolders()
GetHistory()
UpdateProperty()
UpdatePrimaryImage()
Altura Guard
Unity Editor
Installing Altura Unity SDK
Installing Dependencies
Installing Altura Unity SDK
Installing Dependencies