This query used to Get Marketplace Auction Lots Events
Sample Query
subscription {
getMarketplaceAuctionLot(
marketplaceAuctionLotId: "6362e278-1750-4dc0-ac2d-23477c2fd2de"
orgId:"d086ea16-d40d-454c-84a4-64b5e940670a"
dropID: "57bc6c9a-788b-4e60-83ff-a69aca3496ad"
method: [
ONCHAIN_BID_CREATION – tobe removed
ONCHAIN_BID_CONFIRMATION
OFFCHAIN_BID_CREATION
DUTCH_AUCTION_BID_CREATION
DUTCH_AUCTION_BID_CONFIRMATION
AUCTION_COMPLETION
AUCTION_EXTENDED_ON_TIME
Onchain auction completion
]
) {
id
lotNumber
marketplaceCollectionItem{
id
marketplaceTokenId
saleId
saleType
deliveryMethod
NFTDetails{
contractAddress
tokenId
}
saleType
name
deliveryMethod
artist{
id
}
allowList{
id
}
description
onChainPaymentInfo{
marketplaceCollectionItemID
ownerWalletAddress
tokenContractAddress
onchainPaymentAddress
onChainIDRange{
from
to
}
}
}
}
}
Sample Response
{
"data": {
"getMarketplaceAuctionLot": {
"id": "567586c3-d1af-4cb3-a1ec-09959b6c6cd2",
"lotNumber": null,
"marketplaceCollectionItem": {
"id": "6be5f7db-d237-4f75-abb6-5ecb94b3bf97",
"marketplaceTokenId": null,
"saleId": "",
"saleType": "Auction",
"deliveryMethod": "",
"NFTDetails": [
{
"contractAddress": "0x085ec3074a9d85d664e594fc7a194ec038071a67",
"tokenId": "4"
}
],
"name": "dev test auction",
"artist": null,
"allowList": null,
"description": "dev test auction",
"onChainPaymentInfo": null
}
}
}
}
Authorization Required
Name | Type | Description | Required |
---|---|---|---|
orgId | UUID1 | The organiztion Id. | Yes |
dropID | UUID1 | The Collection ID | No |
marketplaceAuctionLotId | UUID1 | The Auction Lot ID | No |
method | AuctionEventMethod | Subscription Types | Yes |