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

findAllByOwner with RPC Limit #539

Open
schellenbergk opened this issue Nov 26, 2023 · 1 comment
Open

findAllByOwner with RPC Limit #539

schellenbergk opened this issue Nov 26, 2023 · 1 comment

Comments

@schellenbergk
Copy link

I'm using Quicknode rpc to fetch all nfts by owner... Everything was working fine for months, but now QN has put a limit on getMultipleAccounts to improve the performance. So now calling:

const allNFTs = await metaplex.nfts().findAllByOwner({ owner });

// results:
Error: 413 Request Entity Too Large: {"jsonrpc":"2.0","id":"3c3ba0bd...","error":{"code":-32602,"message":"getMultipleAccounts, eth_getLogs, and eth_newFilter are limited to a 75 range"}}

What would be the solution for that? I think adding pagination params could fix this issue. Thoughts?

@PdroCorrea
Copy link

Having same issue, its been like 3 days it started :/ for now i'm treating the error and trying again with a different rpc...

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