python-sdk
python-sdk copied to clipboard
How to set gas fee when using NFT module? (Polygon)
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.