Call nft_transfer from contract to user on user request on NEAR blockchain?

I have a question about NFT usage in NEAR blockchain. For example I have NFT on some marketplace (let’s name it contract A ). I add another contract (let’s name it contract B ) to approvals list on my Token (using NEP-178 and Approvals). Now this contract B can call nft_tansfer on my token and transfer it to itself account B . Is there a way to create method so I call it on contract B that will transfer NFT from B to me? It looks like if I call nft_transfer it will not work because I am not the owner of NFT and I do not have approval right.

I mean that contract B is ready to transfer NFT back to me but it has to do it when I ask contract B for it. Thanks in advance!

1 Like

Hi @olegggatttor , thank you for asking, that’s a good question.
Unfortunately, I don’t know the answer.

You will probably get an answer to this engineering question much faster on stackoverflow. Please consider re-posting the question there.

Thanks for your reply. I have already done it but one user said me to go here and ask the question:)

Here it is: