Closed markmhendrickson closed 1 year ago
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 https://github.com/hirosystems/stacks-blockchain-api/issues/1222
The current WIP code for this service is in this repo: https://github.com/hirosystems/token-metadata-service As Sarala mentioned, it's not yet production tested or deployed in Hiro infra. However, nothing stops someone else from running the service themselves.
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 https://github.com/hirosystems/stacks-wallet-web/issues/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