1

Does anyone have an example how to burn a NFT using the blockfrost.io java SDK or Javascript SDK?

Thanks a lot in advance.

3 Answers 3

1

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.

0

There is an explanation of burning tokens on Github.

It's using cardano-serialization-lib ^10, the latest version. So it's very useful.

2
  • This tutorial assumes that the minting policy allows the action of burning. This may not be the case. In the case that the minting policy allowed you link to burn this works, its just minting with negative value. If the policy is locked or not accessible by you (for example only certain key holders can burn), then you can indefinitely lock your tokes like above mentioned (just like burning).
    – Fermat
    Apr 25, 2022 at 12:10
  • ok, thank you very much for your clarification!
    – albrizzi
    Apr 25, 2022 at 12:16
-1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.