Back
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.
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