Gas price for minting seems very high

Viewed 36

I'm fairly new in the world of blockchain so it might be I'm missing something obvious. I'm minting a NFT but it keeps exceeding the gas price despite the limit of 100000000429720. I'm trying to mint the following NFT.

{"name":"GeldermanBurdaard 9","xsens":"deflate","stock":7}

I was originally minting a base64 encoded image as well so I thought that was why the price was so high but that's obviously not the reason because without it it's still as high.

Here's the code

htmlToImage.toPng(document.querySelector('.testkrypt')).then(async dataUrl => {
        const nft = {
            //dataUrl: dataUrl,
            name: this.state.name,
            xsens: this.state.xsens,
            stock: this.state.stock
        }
    }
            
    this.props.socket.emit('mint', JSON.stringify(nft));
}).catch(error => {
    console.error('oops, something went wrong!', error);
});
0 Answers
Related