driftpy icon indicating copy to clipboard operation
driftpy copied to clipboard

examples - fetch_all_markets is not working as expected

Open patllc opened this issue 2 years ago • 1 comments

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()"

patllc avatar Dec 22 '23 23:12 patllc

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'

0xbigz avatar Dec 26 '23 23:12 0xbigz