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.
query GetMyProjects($address: String!) {
GetMyProjects(address: $address) {
createdAt
description
devWallet
gameId
name
status
}
}
"address": "tz1i7SnAcekYtyPv1RZ9YBbnd8ScNcREVaDK"
{
"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.
query GetProjectInfo($gameId: String!) {
GetProjectInfo(gameId: $gameId) {
gameId
name
status
devWallet
description
createdAt
}
}
"gameId" : "game:5TGNoEBCOb8ozhchjuqGv"
{
"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.
Last updated