bids

This query loads the information about the marketplace auction bid.

General Pattern

{
  bids(filter: BidFilterInput){
    field_1
    field_2{
      nested_field_1
    }
    ...
  }
}

Sample query

mutation{
  createMarketplaceAuctionLot(marketplaceAuctionLot:{
    marketplaceTokenId:"3543c583-d388-425c-8a58-01710516f0fb"
    collectionId:"500d9783-a728-41cc-9196-97972d3603a9"
    saleType:Auction
    startingBid:50
    reservePrice:28000
    lotNumber:1
    startDate:"2022-03-11T09:55:38Z"
    endDate:"2022-03-18T09:55:38Z"
    collectionItemName:"Chromie Squiggle Mints"
  }){
    bids(filter:{
      marketplaceAuctionLotId:"64e7b67d-746f-40c4-91b4-73d6fc0c339c"
      userId:"196f2a18-30d8-4781-a372-83cdc966004f"
      order:ASC
    }){
      id
      userId
      amount
      userOrganization{
        id
        userId
        kycStatus
        role
        bidAllowed
      }
      isMine
      isCurrent
      nextBidIncrement
    }
  }
}

Sample response

{
  "data": {
    "createMarketplaceAuctionLot": {
      "bids": []
    }
  }
}

Argument

Name

Type

Description

Required

filter

Object

Contains information from BidFilterInput such as marketplace auction lot ID, user ID, and order.

Yes

Fields

Name

Type

Description

MarketplaceAuctionBid

Object

Contains information from the MarketplaceAuctionBid.

Example

Load the information about marketplace auction bid using BidFilterInput object: