core icon indicating copy to clipboard operation
core copied to clipboard

feat: add call to getCollection to get more collection data

Open sahar-fehri opened this issue 1 year ago • 0 comments

Explanation

We wanted to fetch more collection related data to populate the new NFT details designs. When an NFT is either detected or manually imported, i added a call to NFT-API get collections API to fetch more collection data.

References

Changelog

@metamask/assets-controllers

  • ADDED: Added a batch call to get collections API in detectNfts function.
  • ADDED: Added a call to get collections API inside getNftInformationFromApi

Checklist

  • [ ] I've updated the test suite for new or updated code as appropriate
  • [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • [ ] I've highlighted breaking changes using the "BREAKING" category above as appropriate

sahar-fehri avatar Jun 21 '24 10:06 sahar-fehri