Me

This query loads information about the connected wallet by the user. Provides the list of active NFT & Network info of the wallet.

General Pattern

query{
	userOrgs(filter: { orgId: "UUID1"}){
  	field_1
    field_2 {
       nested_field_1
       ...
    }
  }
}

Sample Query

query getCurrentOrganizationUser {
  me {
    id
    userOrgs(filter: { orgId: "d086ea16-d40d-454c-84a4-64b5e940670a" }) {
      id
      username
      kycStatus
      reason
    }
    wonBids(orgId: "d086ea16-d40d-454c-84a4-64b5e940670a") {
      marketplaceAuctionLotId
      amount
    }
  }
}

Sample Response

{
  "data": {
    "me": {
      "id": "cb2ba8a4-c34c-4df3-a5c6-7b3325d1a8d3",
      "userOrgs": [
        {
          "id": "2508e904-f886-4887-a9ab-9245d1d72ff4",
          "username": null,
          "kycStatus": "Clear",
          "reason": "",
        }
      ],
      "wonBids": [
        {
          "marketplaceAuctionLotId": "450a1459-9662-409d-9c75-e5faef4b4efb",
          "amount": 50,
        },
        {
          "marketplaceAuctionLotId": "452855ad-073d-4de3-af72-a3bebae57ee0",
          "amount": 1,
        },
        {
          "marketplaceAuctionLotId": "69a773d5-da3d-45a3-8c2b-16a47313e904",
          "amount": 1,
        },
        {
          "marketplaceAuctionLotId": "d32724b1-402c-4a54-9199-2ac25147e9e9",
          "amount": 250,
        }
      ],
    }
  }
}

Authorization Required

NameTypeDescriptionRequired
orgIdUUID1The Organization Id.Yes

Fields

NameTypeDescription
CurrentUserObjectContains all the information from User ,UserOrganization,MarketplaceCollectionItem,MarketplaceAuctionBid and Wallets