Burn Native Tokens - Minimum UTxO threshold not met for tx output

Shall I keep checking with ?

cardano-cli query utxo --address $paymentaddr --mainnet

Apologies such a mess keep sending wrong amounts to wrong wallets still awaiting the arrival of the native tokens in paymentaddr

At least, you will have to check for the UTxO with the tokens that you want to burn.

What would you want to do with the rest?

Why was there a --tx-out with such an odd number of tokens in your burning transaction? Where did you want to send them?

Or should they just stay in your in your $paymentaddr? Then you don’t need a --tx-out and can just let everything go to your --change-address.

Please, you are investing so much time, here! Invest it in understanding, what you are doing there, what you are telling the network to do with the transaction, instead of just copy-and-pasting until there are no error messages.

Hi I do here you I am learning kinetically and mistakes will be made along the way naturally. Especially with all the variants

What would you want to do with the rest?
Ok so in the Pool.pm I would like to see it says 190 million now it says 380 million so I am aiming to burn 190 million

Regards the ada yes it can return to --change-address which I may set as paymentaddr just in case this goes wrong

Okay, then your transaction needs a --tx-in with at least 190 million of your tokens, a --mint with -190 million of your tokens, and your payment address as --change-address. No --tx-out necessary. Everything else will just flow back into your payment address.

It still needs the policy script and two witnesses. It needs to be signed by your payment key, because that’s where the tokens and the ADA are coming from, and by the policy key, because it is a (negative, burning) minting transaction of tokens under that policy.

ok thanks the tokens are now on the way to the paymentaddr

To clarify my understanding

–mint="-190000000"

This value I am not sure about
–tx-in

I checked echo $changeaddr looks good

Was formally set up like this
–tx-in $txhash#$txix \

so aaf418d6948a622ead1af7b189da09c55951fd5fce1133232d8dd486fb9b68a7 0 2000000 lovelace + TxOutDatumNone
b5d105d67ba86f7896d6318ffb2cfc7f4e6d2bd407bb2d312fdebb98d58fec62 0 2000000 lovelace + TxOutDatumNone
eb5d76b23708138c1b0895f724f3d261049001937a970b3e2fe76268c309d85d 0 3000000 lovelace + TxOutDatumNone

I would say the new txhash is this one
b5d105d67ba86f7896d6318ffb2cfc7f4e6d2bd407bb2d312fdebb98d58fec62

so txhash=b5d105d67ba86f7896d6318ffb2cfc7f4e6d2bd407bb2d312fdebb98d58fec62

I got this error
Error: Non-Ada assets are unbalanced: 1827327

So I did this output=Error:1827327

Stuck again here

Tokens have left the tx-out wallet so must be in the paymentaddr although how can I check ?

Maybe check the asset no on Pool.pm ?

--mint has to know, what to mint.

It has to be: --mint "-190000000 $policyid.$tokenname"
(Rant: Don’t know, why they always take the = version, there. They don’t do it for all the other parameters. Probably, the guy writing the tutorial was just sloppy and now everyone thinks it has to be different than all the other parameters.)

No, you only know the new tx hash, after the tokens have arrived. It is the ID of the transaction with which the tokens arrived at your address. When they haven’t arrived you don’t know, which to use.

Looking at the UTxOs. Like always. They tell you, what’s in your address at the moment.

Hi yes thanks I was wrong earlier a new txhash has arrived

                       TxHash                                 TxIx        Amount

05bd8d7a49daf4cdfb3d0f65afae52b24339cd0a9f202f8c109148c7aaae33b7 0 2000000 lovelace + 190000000 8dec95dfd60b05de0c97a703e1d1baff330fb0f4cba86b92e005aa4a.56696c7669 + TxOutDatumNone

ok the transaction was created to burning,raw

so now is this signing ok ?

/Applications/Daedalus\ Mainnet.app/Contents/MacOS/cardano-cli transaction sign
–tx-body-file burning.raw
–signing-key-file payment.skey
–mainnet
–out-file burntx.signed

You have to also sign it with policy.skey. You want to burn. That’s a change to the tokens.

ok thanks

–signing-key-file policy/policy.skey \

1 Like

Got to submit and this error

Command failed: transaction submit Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraAlonzo (ApplyTxError [UtxowFailure (WrappedShelleyEraFailure (UtxoFailure (ValueNotConservedUTxO (Value 2000000 (fromList )) (Value 1344798 (fromList )))))])

Trying to figure out what ValueNotConservedUTxO is ?

Must need this
Estimated transaction fee: Lovelace 172673

This is what it says: The output ADA do not match the input ADA. This shouldn’t happen with a --change-address, since we do not try to calculate the sums by hand.

Except …
You did include –witness-override 2 in the build, didn’t you?

That was meant by:

Yes

/Applications/Daedalus\ Mainnet.app/Contents/MacOS/cardano-cli transaction build
–mainnet
–alonzo-era
–tx-in $txhash#$txix
–mint="-190000000 $policyid.$tokenname"
–change-address $changeaddr
–invalid-hereafter 52317489
–minting-script-file policy/policy.script
–witness-override 2
–out-file burning.raw

Maybe

–fee 172673 or
–fee $burnfee \

Or perhaps its just a notice of the charges ?

Estimated transaction fee: Lovelace 172673

I pressed on …

Transaction successfully submitted.

So where shall I watch ?

/Applications/Daedalus\ Mainnet.app/Contents/MacOS/cardano-cli query utxo --address $paymentaddr --mainnet

Can still see the tokens at moment

Would it be worth using cardanoscan with txhash ?

The transaction looks alright.

should not be necessary.

would only work if you had set a variable $burnfee somewhere.

This is supposed to be just an information with nothing for you to do. (In contrast to the minimum UTxO ADAs earlier.)

1 Like

Yes I thought I may of over processed /over reacted to the notice :joy:

Wonder how long and where to look to see if there is success ?

Yes, but I can’t see the burn transaction, there, up to now.

No cannot see anything here