python-sdk icon indicating copy to clipboard operation
python-sdk copied to clipboard

How to set gas fee when using NFT module? (Polygon)

Open arshamg opened this issue 3 years ago • 0 comments

I'm frequently getting the below error:

{'code': -32000, 'message': 'err: max fee per gas less than block base fee: address <REDACTED>, maxFeePerGas: 100000000000 baseFee: 100466530526 (supplied gas 15025147)'}

When using the mint_to method for NFT modules:

nft_module.mint_to(to_address,MintArg())

How can I set the max gas fee for this method so that I can avoid this error? It doesn't look like this has been exposed.

arshamg avatar Feb 12 '22 19:02 arshamg