Help Burning Tokens

Hi there!

I made a mistake on the metadata file that I used to mint some tokens and I would like to burn them to start from scratch.

I looked at the documentation and after following it closely I am getting an error that I can’t figure out:

Here is the result to the UTXO query:

 TxHash                                 TxIx        Amount
--------------------------------------------------------------------------------------
8be04d6a8e22c40f2b3970b0be893b5757d0f237efba997346cb145ccc60b7b3     0        4810607 lovelace + 225 77a6f71a13e82794409d06c7486a59bb7a6af38e223b646c07e3262e.cardanollama001

Here is how the transaction was constructed:

cardano-cli transaction build-raw \
--mary-era \
--fee 175841 \ 
--tx-in 8be04d6a8e22c40f2b3970b0be893b5757d0f237efba997346cb145ccc60b7b3#0 \
--tx-out addr1qyqfrrxczz32xum5qk29r4uv0kdxavj68c73xlh68npkqmhwjqu5nhl5htzprzxql3uwsyck8yfhlmjflvpeu028xmgswra5em+4634766 \ 
--mint="-225 77a6f71a13e82794409d06c7486a59bb7a6af38e223b646c07e3262e.cardanollama001" \ --out-file burnmatx.raw

Here is the error I receive after I submit the transaction:

Command failed: transaction submit  Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraMary (ApplyTxError [LedgerFailure (UtxowFailure (ScriptWitnessNotValidatingUTXOW (fromList [ScriptHash "77a6f71a13e82794409d06c7486a59bb7a6af38e223b646c07e3262e"])))])

Any help would be super appreciated!

I searched by your error and look what I found

https://forum.cardano.org/search?context=topic&context_id=64725&q=ScriptWitnessNotValidatingUTXOW&skip_context=true

1 Like

Damn, I thought that I shouldn’t include that parameter.

Thank you so much, I will build the burn transaction using what you found.

1 Like