getRedeemables

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

NameTypeDescriptionRequired
orgIdUUID1The organiztion Id.Yes
nftContractIDUUID1nft Contract IDNo
eventTypeRedeemableeventThe subscribed event will get the responseYes