<p>destroyamount is the rpc call you are looking for</p>

<p><a href="https://github.com/Blockstream/liquid/blob/3f937d39f7c516e49f62d05c12d41b63b79ca043/src/wallet/rpcwallet.cpp#L586" rel="nofollow noreferrer">https://github.com/Blockstream/liquid/blob/3f937d39f7c516e49f62d05c12d41b63b79ca043/src/wallet/rpcwallet.cpp#L586</a></p>

CC BY-SA 4.0
2019-03-06T17:36:08.463Z
2019-03-06T17:36:08.463Z
Lawrence Nahum
<p>I would like to add something about this. <code>destroyamount</code> is indeed the function used to burn assets in elements, but I'm now using a watch-only wallet for some reasons, and I found out that <code>destroyamount</code> will fail with <code>Insufficient funds</code> error because obviously I don't have any UTXOs I can sign directly with the wallet, and there's no <code>include_watching</code> options like other wallet methods have.</p>
<p>The way to do that is then to use <code>createrawtransaction</code> and add an output with <code>&quot;burn&quot;</code> as the address, which is documented in the help message, but what is not very clear is that you can also add <code>&quot;burn&quot;</code> as an address in the <code>output_assets</code> object with the id of the asset you want to burn. This is not very well documented in the help though, that only advertise the <code>&quot;address&quot;</code> or <code>&quot;fee&quot;</code> keys.</p>
<p>Besides, I was also confused by the fact that the help message seems to ask for a string <code>&quot;hex&quot;</code> as value for the key <code>&quot;burn&quot;</code>, but actually it is the amount as a float.</p>
<p>Anyway this should work, and allow us to create a transaction that burns some assets and can be signed on another device.</p>

CC BY-SA 4.0
2020-10-19T20:17:33.667Z
2020-10-19T20:17:33.667Z
Sosthène
<p>I used to burn bitcoin sending to a bogus address like <code>1111111111111111111114oLvT2</code></p>

<p>There is any equivalent confidential address for Elements/Liquid?</p>

<sidechains><blockstream><liquid>
How to burn confidential assets or pegged bitcoin on Bitcoin Liquid sidechain
Marco Argentieri
# How to burn confidential assets or pegged bitcoin on Bitcoin Liquid sidechain

(Asked by: username_0 on 2019-03-06)

I used to burn bitcoin sending to a bogus address like `1111111111111111111114oLvT2`

There is any equivalent confidential address for Elements/Liquid?

**Tags:** sidechains, blockstream, liquid


---

## 2 answers

### Answer by username_1 on 2019-03-06. Score: 3

destroyamount is the rpc call you are looking for

<https://github.com/Blockstream/liquid/blob/3f937d39f7c516e49f62d05c12d41b63b79ca043/src/wallet/rpcwallet.cpp#L586>


---

### Answer by username_2 on 2020-10-19. Score: 0

I would like to add something about this. `destroyamount` is indeed the function used to burn assets in elements, but I'm now using a watch-only wallet for some reasons, and I found out that `destroyamount` will fail with `Insufficient funds` error because obviously I don't have any UTXOs I can sign directly with the wallet, and there's no `include_watching` options like other wallet methods have.

The way to do that is then to use `createrawtransaction` and add an output with `"burn"` as the address, which is documented in the help message, but what is not very clear is that you can also add `"burn"` as an address in the `output_assets` object with the id of the asset you want to burn. This is not very well documented in the help though, that only advertise the `"address"` or `"fee"` keys.

Besides, I was also confused by the fact that the help message seems to ask for a string `"hex"` as value for the key `"burn"`, but actually it is the amount as a float.

Anyway this should work, and allow us to create a transaction that burns some assets and can be signed on another device.


---

