Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Blockchain by (12.7k points)

In ethereum, does the contract hosting account (the account where the contract is deployed to) owns the ether that's being sent to the contract? If not then what if contract gets deleted, does the ether gets sent back or just disappear.

1 Answer

0 votes
by (29.5k points)
edited by

yes,you can say that the contract owns its own ether. The only way a contract can be "deleted" is if it calls selfdestruct(target), in which case the remaining ether balance of the contract is transferred to the address given in target.

If you want to be an expert in your field, then enroll in Blockchain Certification by Intellipaat.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...