- Notifications
You must be signed in to change notification settings - Fork386
-
Hello, newbie here. I'm trying to use this package to access Uniswap on Polygon network. I changed the provider to a free matic RPC (provided by Maticvigil) and provided the relevant token addresses on the Matic network, but the script returns an error. How do I access the swaps information on Uniswap's Polygon chain (Or other chains like BNB / Fantom / Xdai / etc.)? Thanks!
|
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 2 comments 4 replies
-
Please, post the error message. From what I see, this snippet should work correctly. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Hello, I have attached the error message below (I'm running on Windows with Python 3.9.10). Thank you.
|
BetaWas this translation helpful?Give feedback.
All reactions
-
I'm not sure if they have a 0.3% pool there, try |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
Tried, however, it seems that 'fee' is not part of the params in the Uniswap class
|
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I think@liquid-8 was a bit too quick there. The If you configure logging correctly, it should emit a warning that |
BetaWas this translation helpful?Give feedback.
All reactions
-
Sure, I have tried changing to the following:
However, the script indicates an error in that line:
|
BetaWas this translation helpful?Give feedback.