-
Notifications
You must be signed in to change notification settings - Fork 118
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
Add endpoint for retrieving principal’s NFTs and their metadata #1422
Comments
Hey @markmhx! An NFT metadata indexing service has been deemed out-of-scope as a responsibility of the API, and is being implemented as a separate service. See issue #1222 The current WIP code for this service is in this repo: https://github.com/hirosystems/token-metadata-service |
Thanks! Is there any sense on when Hiro might get this tested and deployed on its infrastructure? |
This is now resolved |
The wallet team needs an ability to query for a principal's NFTs and their metadata for leather-io/extension#1028.
Option 1: New endpoint
Suggested endpoint path,
/extended/v1/address/{principal}/nfts
Response,
Option 2: Add param to return NFT metadata to existing “Non-Fungible Token holdings”
The Non-Fungible Token holdings endpoint returns NFTs held by a principal. However, it only returns the NFT’s
hex
andrepr
. Would be great to have an additional param to request the NFTs’ metadata too.cc @edu-stx
The text was updated successfully, but these errors were encountered: