ERC-20 vs ETH – Does ERC-20 Token Transfer Cost More Gas Than ETH Transfer?

cpp-ethereumerc-20gassolidity

After messing around on the Remix IDE, I realized that initializing a uint (to any value other than 0) costs about 20,000 gas. Because of this, an ERC-20 token transfer to an account with balance 0 must cost at least 41,000 gas (transaction + initialization).

Now, is the behavior the same for an ETH transfer to a new address or would it cost less gas?

Best Answer

21000 is the gas limit for standard transactions for all the ETH addresses.

Initializing + making the transaction only impact the ERC-20 or other smart contract which needs to store data on chain, an ETH address does not need to be initialized.

Related Topic