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

metaplex.rpc().getAssetsByOwner() returns an error, but my RPC supports compressed NFTs when not using Metaplex #515

Open
mikemaccana opened this issue May 10, 2023 · 0 comments

Comments

@mikemaccana
Copy link

May be related to #514 as I can't find any documentation on metaplex.nft().

const assetListOrError = await metaplex.rpc().getAssetsByOwner({
  ownerAddress: publicKey.toBase58(),
});

(wallet address is my own 5FHwkrdxntdK24hgQU8qgBjn35Y1zwhz1GZwCkP2UJnM)

Returns:

{
  "name": "RpcError",
  "source": "rpc"
}

However my RPC supports supports compressed NFTs and works fine when using the code from https://github.com/solana-developers/compressed-nfts:

const response = await connection.getAssetsByOwner({
  ownerAddress: publicKey.toBase58(),
});
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

1 participant