<p>I don’t know blockfrost but I know that a Cardano-transaction has a special field for minting. You should pass a Value to this field with a negative integer for the tokens you want to burn. Additionally you need to add the currency policy script to the transaction.</p>
<p>A transaction would have as inputs for instance a UTxO with 2 Ada and 55 xyz-tokens. The output would be a UTxO with just 2 Ada. The minting field would be a value with -55 xyz-tokens.</p>
<p>I hope this helps a bit.</p>

CC BY-SA 4.0
2021-12-17T10:44:25.790Z
2021-12-17T10:44:25.790Z
Jey
<p>Your problem is <code>ValueNotConservedUTxO</code> because your inputs and outputs values not conserved as (Input UTXO ≠ Fee + Amount sent + Change).</p>

CC BY-SA 4.0
2021-12-29T09:16:22.710Z
2021-12-29T09:16:22.710Z
Marek Mahut - StakeNuts
<p>I'm submitting a transaction to burn token to the blockfrost API and receives the following error</p>
<pre><code>(ApplyTxError 
    [UtxowFailure 
        (WrappedShelleyEraFailure 
            (UtxoFailure 
                (ValueNotConservedUTxO 
                    (Value 871447193 
                        (fromList   
                            [(PolicyID {policyID = ScriptHash \&quot;425754c55895d05430ea30c57a6bc2f7f180756f598a5bb0221c3357\&quot;}
                             ,fromList [(\&quot;LoyaltyCoin\&quot;,-55)]
                             )
                            ,(PolicyID {policyID = ScriptHash \&quot;bd7f7e20e9d43ffb11fdd3c08f32fc31292f8deb72696e5fe003c832\&quot;}
                             ,fromList [(\&quot;FrankCoin\&quot;,3000),(\&quot;SyncroCoin\&quot;,1000)]
                             )
                            ])) 
                    (Value 871447193 
                        (fromList   
                            [(PolicyID {policyID = ScriptHash \&quot;bd7f7e20e9d43ffb11fdd3c08f32fc31292f8deb72696e5fe003c832\&quot;}
                             ,fromList [(\&quot;FrankCoin\&quot;,3000),(\&quot;SyncroCoin\&quot;,1000)]
                             )
                            ]
                        ))
                )
            )
        )
    ]
)
</code></pre>
<p>How should a transaction that burns tokens look like?</p>

<native-assets><blockfrost>
What is the output from a transaction when burning tokens?
# What is the output from a transaction when burning tokens?

(Asked by: username_0 on 2021-12-17)

I'm submitting a transaction to burn token to the blockfrost API and receives the following error
(ApplyTxError 
    [UtxowFailure 
        (WrappedShelleyEraFailure 
            (UtxoFailure 
                (ValueNotConservedUTxO 
                    (Value 871447193 
                        (fromList   
                            [(PolicyID {policyID = ScriptHash \"425754c55895d05430ea30c57a6bc2f7f180756f598a5bb0221c3357\"}
                             ,fromList [(\"LoyaltyCoin\",-55)]
                             )
                            ,(PolicyID {policyID = ScriptHash \"bd7f7e20e9d43ffb11fdd3c08f32fc31292f8deb72696e5fe003c832\"}
                             ,fromList [(\"FrankCoin\",3000),(\"SyncroCoin\",1000)]
                             )
                            ])) 
                    (Value 871447193 
                        (fromList   
                            [(PolicyID {policyID = ScriptHash \"bd7f7e20e9d43ffb11fdd3c08f32fc31292f8deb72696e5fe003c832\"}
                             ,fromList [(\"FrankCoin\",3000),(\"SyncroCoin\",1000)]
                             )
                            ]
                        ))
                )
            )
        )
    ]
)

How should a transaction that burns tokens look like?

**Tags:** native-assets, blockfrost

---

## 2 answers

### Answer by username_1 on 2021-12-17. Score: 0

I don’t know blockfrost but I know that a Cardano-transaction has a special field for minting. You should pass a Value to this field with a negative integer for the tokens you want to burn. Additionally you need to add the currency policy script to the transaction.

A transaction would have as inputs for instance a UTxO with 2 Ada and 55 xyz-tokens. The output would be a UTxO with just 2 Ada. The minting field would be a value with -55 xyz-tokens.

I hope this helps a bit.


---

### Answer by username_2 on 2021-12-29. Score: 0

Your problem is `ValueNotConservedUTxO` because your inputs and outputs values not conserved as (Input UTXO ≠ Fee + Amount sent + Change).


---

