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

getAccountInfo (jsonParsed=true) gets us throttled quickly when watching an account with lots of tokens #264

Closed
SvenDowideit opened this issue Jul 19, 2022 · 1 comment · Fixed by #281
Labels
bug Something isn't working
Milestone

Comments

@SvenDowideit
Copy link
Member

SvenDowideit commented Jul 19, 2022

related to testing #261

I was hoping that the getParsedAccount() calls would be sufficiently ok, but on main-net I can get myself kicked off pretty quickly.

its plausible that we need to make a PR to allow the jsonParsed option on getMultipleAccountsInfo - @jacobcreech ? :D

This is made worse at the start, because it takes a few minutes to get to a steady state :/

this is likely to be a "defer to a later release"

mmm, as a devnet example - when I go to view Fr8usJRe8PVMyw4xcLHZ4XZLTLeVuRabV45NR4rsY5r, it does 16 getParsedAccount() requests to show the ATA, Mint and Metaplex Metadata (for the 5 tokens that account has on devnet)

@SvenDowideit SvenDowideit added the bug Something isn't working label Jul 19, 2022
@SvenDowideit SvenDowideit added this to the 0.4.0 milestone Jul 19, 2022
@nathanleclaire
Copy link
Contributor

Hmm ... can we turn off the related token account querying in AccountView for now (0.4.0, 0.4.1), or at least rein in the requests?

It's a shame that we're back to getting banned from higher nets easily, cause it limits the utility of other features like Anchor account decode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants