0

Sorry, I'm a newbie on ERC721 token. Please help.

I have deployed ERC721 contract in the localhost testnet. I use looping function for mint token and it works.

enter image description here

enter image description here

But when I use looping function for send token, it's failed with revert response. This is my code and response

enter image description here

enter image description here

What's the problem? Can anyone help me? thanks

  • 1
    What's the implementation of safeTransferFrom? – Ismael Oct 9 at 16:38
  • like transferFrom, but with address checking. I also use transferFrom function and still not works. – Kadafi Oct 10 at 2:11
  • Adding to @Ismael's comment you are most probably running out of gas when executing safeTransferFrom function in a loop. – Iftifar Taz Oct 10 at 4:00
  • @Kadafi There's an error in the contract that causes the transaction to revert. Try stepping through the function with the debugger but there's no way we can solve this issue without the source code. – Ismael Oct 10 at 5:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.