get https://api.nftport.xyz/v0/solana/accounts/collections/
Returns a list of collections where the given account (wallet) address owns at least one NFT.
Useful for:
- Showing the user a list of collections in which they own NFTs.
- Checking if a user owns an NFT in a specific collections and then unlocking some experience for them, i.e. token-gating. (You are still responsible for validating that the user owns the wallet.)
Related:
- For a quick start, see the List of sample addresses and collection IDs to copy.
- To get a list of all NFTs owned by this account, see Retrieve Solana NFTs owned by account.
- To get extra detailed information on the returned NFTs, see Retrieve Solana NFT details.