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

feat: add Read request to retrieve the details of the Collection #464

Open
chungquantin opened this issue Feb 4, 2025 · 0 comments
Open

Comments

@chungquantin
Copy link
Collaborator

Originally, the #432 introduces a read Collection to query the optional CollectionDetails. However, this requires adding the CollectionDetails type on the contract library, increasing the size of the contract. Another reason why the approach is not efficient is, there are Read requests TotalSupply and OwnerOf to retrieve the fields items and owner of the CollectionDetails struct.

One possible approach is to introduce three additional reads to query other fields of the collection:

  • CollectionItemConfigs
  • CollectionItemMetadatas
  • CollectionAttributes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant