Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

findAllByOwner with RPC Limit  #539

@schellenbergk

Description

@schellenbergk

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions