GetInstantClaimableLot

This API finds available listing from the provided drop id and reserves it for the user

Sample Request

mutation GetInstantClaimableLot($collectionId: UUID1! , $destAddr: String){
  getInstantClaimableLot(
    collectionId: $collectionId
    destAddr: $destAddr
  ){
    id
    marketplaceCollectionItem{
      name
      description
      delivery{
        ... on MarketplaceItemDeliveryERC721Mint{
          nftTokenId
          nftToken{
            id
            name
            description
            assetURL
            metadataJSON
            ethereumTxId
            deployed
            editions
          }
        }
      }
    }
    totalUnits
    totalAvailableUnits
    startDate
    endDate
  }
}

Sample Variable

{
	"collectionId": "fa695760-ce00-41c4-b9c9-21dc626ddca9", 
  "destAddr": "0x8051fc5A8c511155ef6ef7415b4f9D9c46A50D7E"
}

Sample Response

{
  "data": {
    "getInstantClaimableLot": {
      "id": "54eb1d79-73c5-454e-99f2-45ef1bc7127d",
      "marketplaceCollectionItem": {
        "name": "GNT 3",
        "description": "Sale for GNT 3",
        "delivery": {
          "nftTokenId": "8a20a161-06e7-4d8b-aeb6-5bf6a77d56b3",
          "nftToken": {
            "id": "8a20a161-06e7-4d8b-aeb6-5bf6a77d56b3",
            "name": "GNT#3",
            "description":"Each NFT within the collection is unique and cannot be replicated or duplicated. It ensures the authenticity and scarcity of the digital car representation, mimicking the characteristics of rare or limited-edition physical cars.",
            "assetURL":"https://storage.googleapis.com/mojito-dev-public/organizations/5eb26a32-2a2f-4f4a-88fa-e92fad02b67d/images/3ae71abc-e869-4364-87e3-3ccb139d9e30.jpeg?z=1",
            "metadataJSON": "{\"name\":\"GNT#3\",\"description\":\"Each NFT within the collection is unique and cannot be replicated or duplicated. It ensures the authenticity and scarcity of the digital car representation, mimicking the characteristics of rare or limited-edition physical cars.\",\"image\":\"https://storage.googleapis.com/mojito-dev-public/organizations/5eb26a32-2a2f-4f4a-88fa-e92fad02b67d/images/3ae71abc-e869-4364-87e3-3ccb139d9e30.jpeg?z=1\",\"attributes\":[{\"name\":\"Vehicle Model\",\"value\":\"Beast IMM 11001\"},{\"name\":\"Vehicle Color\",\"value\":\"Black\"},{\"name\":\"Card Effect\",\"value\":\"Clear\"},{\"name\":\"Card Front\",\"value\":\"Brown\"},{\"name\":\"Card Back\",\"value\":\"Black\"},{\"name\":\"Era Name\",\"value\":\"Current\"},{\"name\":\"Construction Year\",\"value\":\"2023\"},{\"name\":\"Model Code\",\"value\":\"TBT 133\"},{\"name\":\"Number of cylinders\",\"value\":\"V10\"},{\"name\":\"Displacement\",\"value\":\"5 cc\"},{\"name\":\"Output\",\"value\":\"420 kW/600 PS\"},{\"name\":\"Top Speed\",\"value\":\"210 Km/h\"},{\"name\":\"Height\",\"value\":\"15mm\"},{\"name\":\"Width\",\"value\":\"20mm\"},{\"name\":\"Weight\",\"value\":\"100 Kgs\"},{\"name\":\"Number of seats\",\"value\":\"2\"}]}",
            "ethereumTxId": null,
            "deployed": false,
            "editions": 1
          }
        }
      },
      "totalUnits": 1,
      "totalAvailableUnits": 1,
      "startDate": "2023-07-11T11:05:57+05:30",
      "endDate": "2023-07-13T12:00:57+05:30"
    }
  }
}

Arguments

NameTypeDescription
collectionIdUUIDDrop identifier
destAddrStringWallet address to which token has to be delivered. If not provided token will be delivered to the multi-sig wallet.

Fields

NameTypeDescription
MarketplaceClaimableOutputMarketplaceClaimableOutputThis object contains all information for claimable lot