Hi is there a quick API call to get the transaction history of a specific NFT or collection of NFTs in BlockFrost?
2 Answers
Yes, there’s an endpoint for the asset transactions here:
https://docs.blockfrost.io/#tag/Cardano-Assets/paths/~1assets~1{asset}~1transactions/get
and also one for mint & burning history here:
https://docs.blockfrost.io/#tag/Cardano-Assets/paths/~1assets~1{asset}~1history/get
-
-
1Yes it’s the policy id combined with the hex encoded asset name, simply concatenated. Example from the docs: b0d07d45fe9514f80213f4020e5a61241458be626841cde717cb38a76e7574636f696e– seanJun 22 at 12:56
-
-
You can just strip off the first 56 characters and you're left with the hex encoded asset name, eg using substring: asset.substring(56)– sean2 days ago
combination of the policy_id and hex encoded asset_name needs to be provided as an input parameter for this endpoint: Blockfrost - Specific Asset