addNFTToFavourite

Add the NFT user's favorite list.

Sample mutation

mutation addNFTToFavourite($orgID: UUID1!, $tokenId: UUID1!) {
  addNFTToFavourite(orgID: $orgID, tokenId: $tokenId)
}

Sample variable

{
  "tokenId": "83bef811-cefb-48da-a7e7-27c553a5f7ac",
  "orgID": "f2f5c627-5421-4c40-9913-edfd09dd98b3"
}

Sample response

{
  "data": {
    "addNFTToFavourite": true
  }
}

Arguments

NameTypeDescriptionRequired
tokenIdUUIDNFT token unique ID.Yes
orgIDUUIDThe Organization ID.Yes

Field

NameTypeDescription
addNFTToFavouriteBooleanThe sending value. If the NFT added in favourite list, it will be 'true'.

Example

add the given NFT in user's NFT favourite list.