Facing error when integrating eip-1559 with moralis SDK

Hello,
I’m facing errors when integrating the API with moralis SDK. can anyone please share the any docs or solution articles where I can get anything for integrated API with my dapp.
Thanks in advance for your time.

index.html:34 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘enable’)
at HTMLSelectElement.estimateGasFee

we need more info, it looks like a variable is undefined from that error with

Thanks for your reply. If you want complete code then let me know and I’ll share the code.

Here is the SS of adding the moralis app with it

You can not use Moralis v2 sdk in front end. Only in backend it works to use Moralis v2 sdk. You can try to use Moralis v1 sdk in front end

Hi,
Glad this could help.
Can you please ref any docs where I can learn to integrate 1559 with moralis through front-end.

Maybe this helps.
https://v1docs.moralis.io/moralis-dapp/users/web3-login/custom-auth-any-eip1193-provider

This is the old documentation with v1 sdk that is no longer maintained at this moment.

Can we integrate polygon gasstation API with moralis v2 sdk?

I don’t understand the question. How would that integration work? What it would be supposed to do?

I was create dapp and using moralis sdk for connect and the transaction through the metamask. Now I want to set eip1559 (blocknative/polygon )API for sending the transaction on priority base(Low, Medium or High). but the sdk is not work on it. I need help regrading to this.
Hope this will find something to you.
Thanks

You can use any other sdk that does transactions in front end instead of Moralis sdk. The demos for Moralis sdk v2 in front end use other sdks like rainbowkit

okay got it. Thanks for your help