This Subscription is used to get the response for Redeemable Processes
Sample Query
Subscription {
getRedeemables(
orgId: "d086ea16-d40d-454c-84a4-64b5e940670a",
nftContractID:"57bc6c9a-788b-4e60-83ff-a69aca3496ad",
eventType: [REEDEMABLE_NEW,REEDEMABLE_COMPLETED]
) {
OrgID
RedeemableID
Status
ExchangeNFTDetails{
tokenId
}
NewNFTDetails{
tokenId
}
WalletAddress
DeliveryWalletAddress
TxHash
}
}
Sample Response
{
"data": {
"getRedeemables": {
"orgId": "d086ea16-d40d-454c-84a4-64b5e940670a",
"RedeemableID": "0x1234567890abcdef",
"Status": "Pending",
"ExchangeNFTDetails": {
"tokenId":"1"
},
"NewNFTDetails": {
"tokenId":"1"
},
"WalletAddress": 2,
"DeliveryWalletAddress": "ERC721",
"TxHash": Nil
}
}
}
Authorization Required
Name | Type | Description | Required |
---|---|---|---|
orgId | UUID1 | The organiztion Id. | Yes |
nftContractID | UUID1 | nft Contract ID | No |
eventType | Redeemableevent | The subscribed event will get the response | Yes |