blockfrost / openapi

OpenAPI specification for Blockfrost.io service
https://docs.blockfrost.io
MIT License
22 stars 15 forks source link

Asset endpoint not returning correct asset name #73

Closed btroia closed 3 years ago

btroia commented 3 years ago

Hi! I've been testing out the new assets endpoint (thanks!) and it seems that the result is not including the proper asset_name. For example using the following request to the endpoint:

https://cardano-mainnet.blockfrost.io/api/v0/assets/1131301ad4b3cb7deaddbc8f03f77189082a5738c0167e177223309743617264616e6f4269747334363137

returns:

blockfrost-cardano-asset

However, there is an asset identifier that isn't being included in the response:

cardanoscan-asset

This is the asset identifier that is commonly shown in Cardano wallets and transactions and is showing up differently than the asset_name

btroia commented 3 years ago

Nevermind! Just realized that asset_name is hex encoded 🤦🏻‍♂️