feat: add Read
request to retrieve the details of the Collection
#464
Labels
Read
request to retrieve the details of the Collection
#464
Originally, the #432 introduces a read
Collection
to query the optionalCollectionDetails
. However, this requires adding theCollectionDetails
type on the contract library, increasing the size of the contract. Another reason why the approach is not efficient is, there areRead
requestsTotalSupply
andOwnerOf
to retrieve the fieldsitems
andowner
of theCollectionDetails
struct.One possible approach is to introduce three additional reads to query other fields of the collection:
CollectionItemConfigs
CollectionItemMetadatas
CollectionAttributes
The text was updated successfully, but these errors were encountered: