Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples - fetch_all_markets is not working as expected #60

Open
patllc opened this issue Dec 22, 2023 · 1 comment
Open

examples - fetch_all_markets is not working as expected #60

patllc opened this issue Dec 22, 2023 · 1 comment

Comments

@patllc
Copy link

patllc commented Dec 22, 2023

error "solders.SerdeJSONError: data did not match any variant of untagged enum Resp" appears when calling
"all_perps_markets = await drift_client.program.account['PerpMarket'].all()"

@0xbigz
Copy link
Member

0xbigz commented Dec 26, 2023

you may need to replace the public rpc if you see

httpx.HTTPStatusError: Client error '410 Gone' for url 'https://api.mainnet-beta.solana.com'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants