This query used to subscribe claim events
Sample Query
subscription {
getClaimableEvent(
orgId: "d086ea16-d40d-454c-84a4-64b5e940670a"
dropID: "57bc6c9a-788b-4e60-83ff-a69aca3496ad"
method: [NFT_CLAIMED]
) {
invoiceID
units
token {
id
name
onChainId
}
saleStartDate
saleEndDate
totalQuantity
availableQuantity
date
walletAddress
status
}
}
Sample Response
{
"data": {
"getClaimableEvent": {
"invoiceID": "8fb128bd-f55d-4bcc-8b6c-0beb684e4d4e",
"units":1,
"token":{
"id":"d086ea16-d40d-454c-84a4-64b5e940670a",
"name":Nansen21",
"metadataArweaveTxId":"2xlLWT9N-UIi1tqb-ClW1WZxbMh-8hJyBizbsJ3_pXc",
"metadataArweaveTxLink":"rH8GwJYOM7PpBWy5wuzSJd2MdvqvowxGyMvQrkklx9M",
"onChainId":1,
"ethereumTxId":"0x042603fb559f41b7a11bb543a4c7cae3b22c725f42568f1e0b2536edcbb15980"
}
"availableQuantity": 4,
"totalQuantity":5,
"saleStartDate": "2023-08-11T10:40:55Z",
"saleEndDate": "2023-08-12T10:50:55Z",
“walletAddress”:”0x61A3A424AaA47449d81CD498EA99A084c45bDf37”,
“status”:”Claimed”
}
}
}
Authorization Required
Name | Type | Description | Required |
---|---|---|---|
orgId | UUID1 | The organization Id. | Yes |
dropID | UUID1 | The Collection Id | No |
lotID | UUID1 | The lot id | No |
methods | claimMethod | Event Type to Subscribe | Yes |