As I know, in ETH, when a contract would be useless, it could be destroyed by using the "selfdestruct" action. So, is there any same method to remove a useless contract from the eos blockchain?
As of v1.3.0, it is now possible to delete the smart contract from an account using the
--clear flag (
$ cleos set contract <account> --clear)
There isn't a selfdestruct action, but there is a setcode action. A contract can use that to destroy itself like in this example.