'eth_estimateGas' method is failed with 'code: -32000' when trying to mint ERC721 contract in Rinkeby #100
-
Hello! I'm trying to mint NFT programmatically in the Rinkeby network using Rarible ERC721 contract (0x6ede7f3c26975aad32a475e1021d8f6f39c89d82) from this page: https://docs.rarible.org/contract-addresses. However mintAndTransfer transaction fails while executing eth_estimateGas method with the following output:
I've researched the issue further and found out that somehow it depends on the network and parameters supplied. Actually, the issue is only reproducible with 0x6ede7f3c26975aad32a475e1021d8f6f39c89d82 "to" address and Rinkeby network. Has anyone met such a problem? Any ideas what's going wrong and how to fix? Here're the examples:
I'm kinda new to blockchain and Rarible, so the it may be something really small and obvious, I will appreciate any hints. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@bobrom to call estimate gas, you need to pass transaction you want to estimate |
Beta Was this translation helpful? Give feedback.
@bobrom to call estimate gas, you need to pass transaction you want to estimate
In the provided examples you pass empty data (no data actually). It means, you don't invoke any function in the contracts, you just do empty call, that's why you get unexpected behaviour