Problem with ERC721PresetMinterPauserAutoId

I’ve deployed ERC721PresetMinterPauserAutoId contract to the Ropsten network via Remix. And it works fine there.
Now I am trying to iterate with that via Web3 from my node.js server.
Calling this I get an error “unknow account”
.then((tx) => {
    return tx.send({ from: WALLET_ADDR })

calling this “Transaction has been reverted by the EVM”

const encoded =

        const gasPrice = await web3.eth.getGasPrice()
        const gasEstimate = await instance.methods
            .estimateGas({ from: addr })
        const tx = {
            to: CONTRACT_ADDR,
            from: WALLET_ADDR,
            data: encoded,
            gas: Math.round(gasEstimate * 1.1),

        return web3.eth.accounts
            .signTransaction(tx, WALLET_KEY)
            .then((signed) => {
                return web3.eth


What could be wrong? How to debug such things?

:computer: Environment

Node, Web3, Geth


:1234: Code to reproduce

Solved. It was a gas issue (what?)
just making more gas resolve a issue

1 Like