Commands to remove all assets from an address

0 votes
Hi,

 

Is there a command to remove all assets present inside an address?

 

Regards

Anuj
asked Feb 9, 2016 by anuj

1 Answer

0 votes

You can send assets to the burnaddress returned by getinfo (after ensuring that address has receive permissions). That way the assets will be permanently gone.

answered Feb 9, 2016 by MultiChain
Executing getinfo did not return me burnaddress. Following in the response I received:

[bin]$ multichain-cli chain6 getinfo
{"method":"getinfo","params":[],"id":1,"chain_name":"chain6"}

{
    "version" : "1.0 alpha 13",
    "protocolversion" : 10002,
    "chainname" : "chain6",
    "description" : "Multichain network chain6",
    "protocol" : "multichain",
    "port" : 6839,
    "setupblocks" : 60,
    "nodeaddress" : "chain6@10.17.18.156:6839",
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 23673,
    "timeoffset" : 0,
    "connections" : 1,
    "proxy" : "",
    "difficulty" : 0.00009820,
    "testnet" : false,
    "keypoololdest" : 1455001677,
    "keypoolsize" : 2,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00000000,
    "errors" : ""
}
You need to upgrade to the latest version (alpha 16) to get the burnaddress.
...