destroyamount ( RPC)

destroyamount "asset" amount ( "comment" )

Destroy an amount of a given asset.

1. asset      (string, required) Hex asset id or asset label to destroy.
2. amount     (numeric or string, required) The amount to destroy (8 decimals above the minimal unit).
3. comment    (string, optional) A comment used to store what the transaction is for.
              This is not part of the transaction, just kept in your wallet.

"transactionid"  (string) The transaction id.

> elements-cli destroyamount "bitcoin" 100
> elements-cli destroyamount "bitcoin" 100 "destroy assets"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "destroyamount", "params": ["bitcoin" 100 "destroy assets"] }' -H 'content-type: text/plain;'