ORB3 API - Technical Documentation
  • ORB3 API - Technical Documentation
    • About the ORB3 API
    • Getting Started
    • Projects
      • Creating your Project
      • Fetching Project Data
    • Collections
      • Creating a Collection
      • Fetching Collection Data
    • Collectibles
      • Creating a Collectible
      • Minting a Collectible
      • Sending a Collectible
      • Requesting a Collectible
      • Burning a Collectible
      • Fetching Collectible Data
    • Users
      • User Operations
    • Marketplace Functions
      • Collectible Listings
      • Collectible Offers
      • Collectible Auctions
Powered by GitBook
On this page
  • Fetching all created projects
  • Fetching information about a specific project
  1. ORB3 API - Technical Documentation
  2. Projects

Fetching Project Data

Once a project is created on the ORB platform, its gameId can be used to retrieve information about it.

Fetching all created projects

Use this Query to retrieve all the projects created by a specified wallet address.

GetMyProjects
query GetMyProjects($address: String!) {
  GetMyProjects(address: $address) {
    createdAt
    description
    devWallet
    gameId
    name
    status
  }
}
Input Variables
"address": "tz1i7SnAcekYtyPv1RZ9YBbnd8ScNcREVaDK"
Sample Response
{
  "data": {
    "GetMyProjects": [
      {
        "createdAt": "04-10-2023",
        "description": "This is a test description",
        "devWallet": "tz1i7SnAcekYtyPv1RZ9YBbnd8ScNcREVaDK",
        "gameId": "game:5TGNoEBCOb8ozhchjuqGv",
        "name": "Test Game",
        "status": "LIVE"
      }
    ]
  }
}

Fetching information about a specific project

Use the following query to retrieve information about a project, based on its specified gameId.

GetProjectInfo
query GetProjectInfo($gameId: String!) {
  GetProjectInfo(gameId: $gameId) {
    gameId
    name
    status
    devWallet
    description
    createdAt
  }
}
Input Variables
"gameId" : "game:5TGNoEBCOb8ozhchjuqGv"
Sample Response
{
  "data": {
    "GetProjectInfo": {
      "gameId": "game:5TGNoEBCOb8ozhchjuqGv",
      "name": "Test Game",
      "status": "LIVE",
      "devWallet": "tz1i7SnAcekYtyPv1RZ9YBbnd8ScNcREVaDK",
      "description": "This is a test description",
      "createdAt": "04-10-2023"
    }
  }
}

For a specified gameId you can fetch information such as the date it was created, its description and the wallet addres that created it.

PreviousCreating your ProjectNextCollections

Last updated 1 year ago