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

Get User's Items

Use this method to get the items of a specific user.

Usage in your script

GetUsersItems
  .Initialize(destroyAtEnd: true)
  .SetAddress(
    account_address: "0x..."
  )
  .filter( //optional
  collectionAddress:"0x41..A",
  )
  .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

account_address

String

Yes

Unique wallet address of user

.filter()

Parameter
Type
Required
Description

name

String

Optional

Filter by the item name

collectionAddress

String

Optional

Filter by the item collection address

chainId

String

Optional

Filter by the item chain id

creatorAddress

String

Optional

Filter by the item creator

fileType

String

Optional

Filter by the item file type

isVerified

Bool

Optional

Filter if the item is verfied by Altura

.onError()

Action on Error: returns error information.

.onComplete()

.Run()

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

PreviousGet UsersNextGet Item

Last updated 2 years ago

Was this helpful?

Action on successful: returns Items type.

đŸ•šī¸
🔧
đŸ–ŧī¸
Items_model