Closed AlexShashkov closed 1 week ago
I have installed your repo using poetry but getting the following error when I call get_pool_state_at_block
using my api key
TypeError: Object of type Contract is not JSON serializable
File ~/workspace/sdai-analysis/.venv/lib/python3.12/site-packages/requests/models.py:370, in PreparedRequest.prepare(self, method, url, headers, files, data, params, auth, cookies, hooks, json)
368 self.prepare_headers(headers)
369 self.prepare_cookies(cookies)
--> 370 self.prepare_body(data, files, json)
371 self.prepare_auth(auth, url)
Any idea what could be the issue?
Nevermind the issue is on my end. It seems to work fine.
Looking this now - unfortunately Github notifications are too much spam, so was flying under the radar.
0.26 released
After uniswap shut down open subgraph endpoints, users must use their api keys to access uniswap graphql. Also added support for other ethereum chains (ARB, OP, BASE)