Call nft_transfer from contract to user on user request on NEAR blockchain?
- olegggatttorOP 1
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 contractB) to approvals list on my Token (using NEP-178 and Approvals). Now this contractBcan call nft_tansfer on my token and transfer it to itself accountB. Is there a way to create method so I call it on contractBthat will transfer NFT fromBto 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
Bis ready to transfer NFT back to me but it has to do it when I ask contractBfor it. Thanks in advance! - nikurt
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.
- olegggatttor
Thanks for your reply. I have already done it but one user said me to go here and ask the question:)
Here it is:
stackoverflow.comCall nft_transfer using contract name on NEAR blockchain?
asked by gabbi on 12:35PM - 26 Oct 21 UTC