🛠️Installation
Last updated
Last updated
Using our Unity SDK, you are able to interact with Altura services such as authenticating users using Altura Guard, get Users information and items, get items and collection information and transfer or mint new items.
AlturaSDK versions | Supported Unity versions | Supported Platforms |
---|---|---|
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:
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.
To use Altura SDK in your script, you need to import it like:
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!
Using user object, you are able to get all user's items!
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 |
---|---|
Method | Description |
---|---|
Method | Description |
---|---|
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
Use this method to get items of specific user. On success, the data is returned as JSON.
Updates the value of an item's property
Adds a new image to an items otherImage's array
Update()
1.0.5
2020.3, 2021.3, 2022.1
Windows, MacOS, Android