getMarketplaceAuctionLot

The query "getMarketplaceAuctionLot" fetch specific auction lot information, which includes details about the auction, such as the starting price, reserve price, and bidding history.

Sample query

query MarketplaceAuctionLot($marketplaceAuctionLotId: UUID!) {
  getMarketplaceAuctionLot(marketplaceAuctionLotId: $marketplaceAuctionLotId) {
    id
    bids(filter: { returnDeleted: true }) {
      id
      isCurrent
      amount
      createdAt
      deletedAt
      marketplaceAuctionLotId
      nextBidIncrement
      currentBid
      userId
      maximumBid
      claimRebateAmount
      walletAddress
      claimStatus
      auctionEndDate
      __typename
    }
    marketplaceAuctionOnChainSettings {
      id
      marketplaceAuctionLotID
      nftContractAddress
      tokenID
      quantityOf1155
      tokenOwnerAddress
      minimumBidCryptoPrice
      reservedPrice
      paymentCurrency
      whitelistedBuyers
      blacklistedBuyers
      paymentSettlementAddress
      taxSettlementAddress
      commissionAddress
      platformSettlementAddress
      commissionFeePercentage
      platformFeePercentage
      endAuctionStatus
      networkID
      endTransactionHash
      tokenType
      supportedCurrencyID
      halfLifeTime
      availableQuantity
      totalQuantity
      reduceByAmount
      reduceByInterval
      walletLimit
      transactionLimit
      isInstantDelivery
      fromTokenID
      toTokenID
      rebateEnabled
    }
    __typename
  }
}

Sample variable

{
  "marketplaceAuctionLotId": "3f594d54-e14d-40fe-99e4-c86bb3cfef96"
}

Sample response

{
  "data": {
    "getMarketplaceAuctionLot": {
      "id": "3f594d54-e14d-40fe-99e4-c86bb3cfef96",
      "bids": [
        {
          "id": "728cea25-9dbd-4d8d-99ae-6a4236d7c710",
          "isCurrent": true,
          "amount": 0.03,
          "createdAt": "2023-05-10T15:26:47Z",
          "deletedAt": null,
          "marketplaceAuctionLotId": "3f594d54-e14d-40fe-99e4-c86bb3cfef96",
          "nextBidIncrement": 0,
          "currentBid": 0.03,
          "userId": "e877b5df-00ce-4825-9c50-9b9e53a15b25",
          "maximumBid": null,
          "claimRebateAmount": 0,
          "walletAddress": "0xbA76fcAC5D4D926A72E23970935E79718a5D6453",
          "claimStatus": "UnAvailable",
          "auctionEndDate": "2023-05-10T15:40:00Z",
          "__typename": "MarketplaceAuctionBid"
        },
        {
          "id": "3ed4fc65-db84-4be9-955b-faf634d7de7e",
          "isCurrent": false,
          "amount": 0.06,
          "createdAt": "2023-05-10T15:22:26Z",
          "deletedAt": null,
          "marketplaceAuctionLotId": "3f594d54-e14d-40fe-99e4-c86bb3cfef96",
          "nextBidIncrement": 0,
          "currentBid": 0.06,
          "userId": "e877b5df-00ce-4825-9c50-9b9e53a15b25",
          "maximumBid": null,
          "claimRebateAmount": 0.03,
          "walletAddress": "0xbA76fcAC5D4D926A72E23970935E79718a5D6453",
          "claimStatus": "Available",
          "auctionEndDate": "2023-05-10T15:40:00Z",
          "__typename": "MarketplaceAuctionBid"
        },
        {
          "id": "c9531a16-f418-41ed-ae7e-90da21c4b2d5",
          "isCurrent": false,
          "amount": 0.08,
          "createdAt": "2023-05-10T15:11:42Z",
          "deletedAt": null,
          "marketplaceAuctionLotId": "3f594d54-e14d-40fe-99e4-c86bb3cfef96",
          "nextBidIncrement": 0,
          "currentBid": 0.08,
          "userId": "e877b5df-00ce-4825-9c50-9b9e53a15b25",
          "maximumBid": null,
          "claimRebateAmount": 0.05,
          "walletAddress": "0xacd73aBb13630a142aD44d8f75fB7c0309fe80e8",
          "claimStatus": "Available",
          "auctionEndDate": "2023-05-10T15:40:00Z",
          "__typename": "MarketplaceAuctionBid"
        },
        {
          "id": "8b0ff45b-08ab-4cdb-afaf-9227e2de1fe8",
          "isCurrent": false,
          "amount": 0.09,
          "createdAt": "2023-05-10T15:08:32Z",
          "deletedAt": null,
          "marketplaceAuctionLotId": "3f594d54-e14d-40fe-99e4-c86bb3cfef96",
          "nextBidIncrement": 0,
          "currentBid": 0.09,
          "userId": "e877b5df-00ce-4825-9c50-9b9e53a15b25",
          "maximumBid": null,
          "claimRebateAmount": 0.06,
          "walletAddress": "0xacd73aBb13630a142aD44d8f75fB7c0309fe80e8",
          "claimStatus": "Available",
          "auctionEndDate": "2023-05-10T15:40:00Z",
          "__typename": "MarketplaceAuctionBid"
        }
      ],
      "marketplaceAuctionOnChainSettings": {
        "id": "94587798-2892-4271-9480-c3b11e40df86",
        "marketplaceAuctionLotID": "3f594d54-e14d-40fe-99e4-c86bb3cfef96",
        "nftContractAddress": "0x3e9D45aD0da57683b5375d0F3D5BC606429128F9",
        "tokenID": 0,
        "quantityOf1155": 0,
        "tokenOwnerAddress": "0x3c65AFAF9115C8B6b6240113713449cf1c67a42A",
        "minimumBidCryptoPrice": 0.1,
        "reservedPrice": 0.01,
        "paymentCurrency": "0",
        "whitelistedBuyers": "",
        "blacklistedBuyers": "",
        "paymentSettlementAddress": "0xbA76fcAC5D4D926A72E23970935E79718a5D6453",
        "taxSettlementAddress": "0xbA76fcAC5D4D926A72E23970935E79718a5D6453",
        "commissionAddress": "0xbA76fcAC5D4D926A72E23970935E79718a5D6453",
        "platformSettlementAddress": "0xbA76fcAC5D4D926A72E23970935E79718a5D6453",
        "commissionFeePercentage": 2,
        "platformFeePercentage": 2,
        "endAuctionStatus": "",
        "networkID": "b260424b-bb37-4a3e-86d0-0866175e5e68",
        "endTransactionHash": "",
        "tokenType": "ERC721",
        "supportedCurrencyID": "501796ca-8f03-4cf6-8c36-2b1c50e6489b",
        "halfLifeTime": "2023-05-10T15:20:00Z",
        "availableQuantity": 1,
        "totalQuantity": 4,
        "reduceByAmount": 0.01,
        "reduceByInterval": 300,
        "walletLimit": 2,
        "transactionLimit": 2,
        "isInstantDelivery": true,
        "fromTokenID": 9,
        "toTokenID": 12,
        "rebateEnabled": true
      },
      "__typename": "MarketplaceAuctionLot"
    }
  }
}

Arguments

NameTypeDescriptionRequired
marketplaceAuctionLotIdUUIDMarketplace lot id.Yes

Fields

NameTypeDescription
MarketplaceAuctionLotObjectContains all information from MarketplaceAuctionLot