hirosystems / hirosystems/token-metadata-api
Token metadata unavailable
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 7
- Avg merge
- 35m
- Merged PRs (30d)
- 2
Description
**Describe the bug**
One of the builders reported:
- two identical FTs on testnet: [v0-74](https://explorer.hiro.so/txid/ST2XX28V6YR45HZJ0D5990MRCBHMGC843GQQ12N1Q.bsd-mock-v0-74?chain=testnet) and [v0-70](https://explorer.hiro.so/txid/ST2XX28V6YR45HZJ0D5990MRCBHMGC843GQQ12N1Q.bsd-mock-v0-70?chain=testnet)
- one of them works fine with metadata API, the other one gets a 404
```
$ curl -X GET "https://api.testnet.hiro.so/metadata/v1/ft/ST2XX28V6YR45HZJ0D5990MRCBHMGC843GQQ12N1Q.bsd-mock-v0-74"
{"error":"Contract not found"}
$ curl -X GET "https://api.testnet.hiro.so/metadata/v1/ft/ST2XX28V6YR45HZJ0D5990MRCBHMGC843GQQ12N1Q.bsd-mock-v0-70"
{"name":"BSD","symbol":"BSD","decimals":8,"tx_id":"0xf9362763c7cb92de3716e84c728997db402ec496df36797c6dd2aa679661acb2","sender_address":"ST2XX28V6YR45HZJ0D5990MRCBHMGC843GQQ12N1Q"}
```
**To Reproduce**
See above
**Expected behavior**
Both tokens should work with the metadata API.
**Additional context**
Maybe related or dup of #305
Contributor guide
Assessment
This issue has not been assessed yet.