Is it possible to sort the user list based on the number of nfts? (Using Moralis Query)


Using Moralis query,

Can you get a list based on the number of NFTs of users?

A user - 10 NFT owned
B user - 8 NFT owned
C user - 6 NFT owned

Please let me know if you know how to do it.

Thank you.

IF you would like to get the number of NFTs owned by a given address, you can use getNFTs API here, I do not recommend using the DB to fetch the info as it is going to be removed in nitro :raised_hands: