Xerial
  • Intro
    • ⚡Introduction
    • 🏁Getting Started
    • ℹ️Before We Start: Important
  • 👷Build
    • Build Your Account
    • Create Your Assets
    • Inventory
    • Marketplace
    • User Flow
    • Best Practices
      • Attribute Guide
        • Attribute Use Cases
  • ☄️Xerial APIs
    • 🗝️API Authorization
    • 🛅Wallet API
      • Getting Started
      • Custodial Wallets
        • Create User
        • Create Wallet
        • Get Wallets
      • Wallet Management
        • Get Chain Native Currency Balance
        • Get Supported ERC20 Tokens Balances
        • Get Project Inventory
      • Transaction Proccessing
        • Transfer Xerial NFT
        • Transfer Chain Native Currency
        • Transfer ERC20 Token
        • Primary Purchase Xerial NFT
        • Secondary Purchase
        • List Xerial NFT
        • Delist Xerial NFT
        • Execute Custom Transaction
      • Errors Handling
        • Authentication Errors
        • Wallet Management Errors
        • Transaction Proccessing Errors
    • 🛒Marketplace API
      • Get Listed NFTs
      • Get Community Listed Items
      • Get Collections
      • Get Project Data
    • 🖼️NFT API
      • NFT Drop
    • 🌐Xerial Global Wallets
      • Get User Wallet Info
      • Get Global Inventory
      • User Authorization
      • Logout
  • 🛠️Xerial SDK
    • Wallet SDK
  • 🏎️Gaming Toolkit
    • 🕹️Xerial Unity SDK Guide
      • ⬇️Installation
      • ⚙️Configuration
      • Xerial Services
        • Set Up Xerial Services
        • Service Managers
          • Session Manager
          • Wallet Manager
            • UserData Class
              • Account Class
              • Wallet Class
              • Creating UserData Class
          • Inventory Manager
            • NFTs
              • Metadata
              • Attributes
            • NFTInventory Class
            • Creating NFT Inventory
          • MarketPlace Manager
    • Unreal Engine SDKs
Powered by GitBook
On this page
  • Overview
  • Parameters
  • Responses
  • Usage
  1. Xerial APIs
  2. Wallet API
  3. Wallet Management

Get Project Inventory

The endpoint "Get Project Inventory" allows you to retrieve the user NFTs attached

Overview

Endpoint

  • Method: GET

  • URL: /wallet/{address}/{chain}/project-inventory/{projectId}

Parameters

  • address: (Path Parameter): Wallet address (string).

  • projectId: (Path Parameter): Project Id(string).

  • chain: (Path Parameter): Blockchain (string).

Responses

Success (Code 200)

[
  {
    "collection": {
      "id": "65fd937063a8b7d03408a1c11"
    },
    "quantity": 1,
    "metadata": {
      "name": "Example",
      "description": "Example serves as an enhanced account and game pass, providing a gateway to exclusive digital items. It enables users to securely save their gaming progress—including playtime, wins, and losses—on the blockchain, ensuring data integrity and security. Additionally, MemPass users receive exclusive benefits, enhancing their gaming experience.",
      "image": "https://dw34dswplasn9.cloudfront.net/346a1f79ff65e29d815842db06930a1cd983478f3baefd55328e27109ee335b8-TARJETA%20MEORIA%20ROA_02.117.jpg",
      "externalUrl": "https://example.com/",
      "animationUrls": [
        {
          "type": "video",
          "value": "https://dw34dswplasn9.cloudfront.net/ec20ac19a3466b44d6dbfc0cfad4d6ff44fc754ca8c5073630ad9533eda409e-Bronze.mp4"
        }
      ],
      "attributes": [],
      "contract": {
        "address": "0x62219842c19fbDE8D70E03677AE03Ad614535007",
        "name": "Example",
        "symbol": "EXM",
        "image": "https://dw34dswplasn9.cloudfront.net/c0765b31ad40c35ee828d37cccf4b9a6daf5c1986ef20d33822779ba3e9c6173-MemPass.png",
        "description": "Example \n\nTo progress through the game significantly, such as ranking up and saving players’ wins/losses in PVE, PVP, and Tournaments, possessing a MemPass NFT becomes essential within the Eternis game ecosystem.\n\nGateway to exclusive collectibles\n\nPlayers achieving specific playtime milestones, wins, and losses across various game modes will be whitelisted to mint FREE NFTs from different vaults, contingent upon the rarity of the MemPass NFT (BRONZE, GOLD, PLATINUM). This enables them to customize their characters body parts, gadgets, HP bars, VFX and other exciting features.\n\nAccount trading\n\nFor those interested in boosting their accounts and selling them as NFT assets, we provide a comprehensive infrastructure to facilitate this process. Propped-up MemPass NFTs will include ample incentives, enticing new players to make a purchase.",
        "externalUrl": "https://example.com/memberpass/"
      },
      "maxSupply": 500
    },
    "tokenIds": [
      3
    ]
  }
]
  • Media Type: application/json

  • Example Value: An object containing the response for the user NFTs of the project in an object array.

Usage

  1. Send a GET request to the "Get Project Inventory"endpoint to obtain the items in the users wallet.

  2. Handle the response accordingly based on success, unauthorized access, forbidden access, not found, method not allowed, precondition failed, or internal server error.

Note: Ensure to get the studio address from your dashboard and you will receive the items for the given user address.

PreviousGet Supported ERC20 Tokens BalancesNextTransaction Proccessing

Last updated 1 year ago

☄️
🛅