Closed giorgionocera closed 4 months ago
Yea, I agree on adding paginations for queries. I think we already have querying nfts by owner.
bitsongd query nft nfts-by-owner [owner]
Nice!
With respect to the owner
and authority
they are different attributes.
So we could think to add the authority (which is who has the ability to modify the metadata
) query.
What do you think about it?
The pagination is already integrated in the grpc query, howver I think we should set a new index on the store
This feature could be handled by an offchain indexer (for example subquery network).
In the
nft
module it could be useful to query thenft
s by authority, similarly to how it could be done with thecollections
. Moreover, it could be useful to paginate the results (since they can become a large number).Do you agree?