Does anyone have an example how to burn a NFT using the blockfrost.io java SDK or Javascript SDK?
Thanks a lot in advance.
There is a great post on the Cardano form that goes in-depth on different types of burning methods [1]. Note that these tokens send to such addresses still exists but can't be transferred anymore by anyone. But for some of the solutions mentioned one can proof that the address corresponds to a unspendable script.
There is an explanation of burning tokens on Github.
It's using cardano-serialization-lib ^10
, the latest version. So it's very useful.
As far as I know, there is no support for burning tokens out of box yet.
You might want to look at this specific part of the pull request to the transaction builder to get an inspiration on how to do that.