I have a design question about a SmartContract. I would like to create a endpoint that deals with SFT and NFT and must access to there attributes to compute the result. Basically, the user send two NFTs and, depends on there attributes, it will receive a new NFT or not. In both case, we return user's NFT.
In this case, is it possible to only send token identifiers to the endpoint instead of NFTs (via payable) and retreive NFT informations directly from the smart contract? It seems boilerplate and gaz consuming to send back NFT from a smart contract each time