getMarketplaceAuctionLot

This query loads the information of marketplace auction lot.

General Pattern

query{
    getMarketplaceAuctionLot(marketplaceAuctionLotId: "UUID"){
    field_1
    field_2 {
       nested_field_1
       ...
    }
  }
}

Sample query

query{
  getMarketplaceAuctionLot(marketplaceAuctionLotId:"eae964cf-ebd5-4117-a070-4c1fa21b9901"){
    id
    lotNumber
    marketplaceCollectionItem{
      id
      marketplaceTokenId
      collectionId
      saleType
    }
    marketplaceCollectionItemId
    startingBid
    reservePrice
  }
}

Sample Response

{
  "data": {
    "getMarketplaceAuctionLot": {
      "id": "eae964cf-ebd5-4117-a070-4c1fa21b9901",
      "lotNumber": null,
      "marketplaceCollectionItem": {
        "id": "0a945867-2b99-462c-a6c7-0aacc51bb5e7",
        "marketplaceTokenId": "d5699b63-f2d8-49c0-9a46-dce441f14dae",
        "collectionId": "b53a4163-ffce-455b-a72e-1a2106c90fbc",
        "saleType": "Auction"
      },
      "marketplaceCollectionItemId": "0a945867-2b99-462c-a6c7-0aacc51bb5e7",
      "startingBid": 44,
      "reservePrice": null
    }
  }
}

Arguments

Name

Type

Description

Required

marketplaceAuctionLotId

UUID

Represents the marketplace auction lot ID.

Yes

Fields

Name

Type

Description

MarketplaceAuctionLot

Object

Contains all the information from MarketplaceAuctionLot such as number, reserve price, status, current bid, etc.

Example

Load an auction lot information within a marketplace using Marketplace Auction Lot ID: