-
I tried to look it up online, but every time I try to estimate price, this error comes up. What exactly does it mean? How do you fix it? The error occurs every time I try to estimate the price from diffrent dexes with this script here. Trying to create a arbitrage bot. I suppose it could be that I need WETH or WMATIC to do the transaction. I'm working on the polygon mainnet btw. The script works well and does it's job, but everytime before it actually performs the trade I get this error. I have enough base asset and gas fees setup to perform the transaction. Really weird that it still gives me timeouts and then this error.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Hey @LordReya you need to provide more context about your error so that we may understand what may lead to the error you encountered. |
Beta Was this translation helpful? Give feedback.
-
@krakxn Do you maybe have a clue? |
Beta Was this translation helpful? Give feedback.
-
I fixed the problem myself. You need WETH or WMATIC depending on the network to interact with Smartcontracts on the Mainnet. |
Beta Was this translation helpful? Give feedback.
I fixed the problem myself. You need WETH or WMATIC depending on the network to interact with Smartcontracts on the Mainnet.