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

Was this helpful?

  1. Unity SDK
  2. Methods

Update Collection

Use this method to update a collection's metadata

Usage in your script

UpdateCollection
  .Initialize(destroyAtEnd: true)
  .SetParameters(
    address: "0x...",
    image: "https://",
    image_url:"https://",
    description:"my collection",
    website:"https://",
    genre:"action"
  )
  .OnError(error => Debug.Log(error))
  .OnComplete(result => Debug.Log(result))
  .Run();

Member Functions

.Initialize()

Parameter
Type
Required
Description

destroyAtEnd

bool

Optional

defines if this component will be destroyed after .Run()

.SetParameters()

Parameter
Type
Required
Description

address

String

Yes

Collection address

image

String

Yes

new image URL

image_url

String

Yes

new image URL

description

String

Yes

new description for the project

website

String

Yes

Website of the collection

genre

String

Yes

Type of the collection

.onError()

Action on Error: returns error information.

.onComplete()

.Run()

Runs the API call and fills the corresponding model in the component on success.

PreviousGet CollectionsNextTransfer ERC20

Last updated 2 years ago

Was this helpful?

Action on successful: returns type.

đŸ•šī¸
🔧
đŸĒ„
Collection_model