Altcoins Talks - Cryptocurrency Forum

Cryptocurrency Ecosystem => Ethereum Forum => Basics => Topic started by: CryptoGirl on May 30, 2018, 07:13:08 PM

Title: Ethereum transaction Gas needed
Post by: CryptoGirl on May 30, 2018, 07:13:08 PM

    A standard TX will need 21000 gas & if the gas price is 0.00000002 ETH so the total TX fee will be 0.00042 Ether.

    With tokens, the amount of gas is typically 50000 gas - 100000 gas, so the total TX fee can increase to 0.001 ETH - 0.002 ETH.

    The amount of ETH or tokens you are sending does not affect the amount of gas you need.

    GAS LIMIT is the maximum amount of GAS you will send with your transaction. This is in units of GAS.

    GAS PRICE, is how much each unit of gas costs.

   1 Gwei = 0.000000001 ETH   >>>> gas price

The total cost of a transaction (the "TX fee") is the Gas Limit * Gas Price
Title: Re: Ethereum transaction Gas needed
Post by: akhjob on May 31, 2018, 05:58:41 PM
Choosing the ideal gas price is also very much important for the transaction to become successful. If you put a very low gas price, the transaction might be stuck. So before making a transaction it's good to find the ideal gas price for making a successful transaction  in ethgasstation.info (http://ethgasstation.info)
Title: Re: Ethereum transaction Gas needed
Post by: Gecol46 on November 11, 2018, 01:52:03 AM
GAS is the main component in conducting ethereum transactions, because it affects the speed of transactions and the amount of costs that we have to spend on a single transaction, and we can see the GAS info we can see in the gas station info
Title: Re: Ethereum transaction Gas needed
Post by: Bobcrypto on July 03, 2019, 10:41:18 AM

    A standard TX will need 21000 gas & if the gas price is 0.00000002 ETH so the total TX fee will be 0.00042 Ether.

    With tokens, the amount of gas is typically 50000 gas - 100000 gas, so the total TX fee can increase to 0.001 ETH - 0.002 ETH.

    The amount of ETH or tokens you are sending does not affect the amount of gas you need.

    GAS LIMIT is the maximum amount of GAS you will send with your transaction. This is in units of GAS.

    GAS PRICE, is how much each unit of gas costs.

   1 Gwei = 0.000000001 ETH   >>>> gas price

The total cost of a transaction (the "TX fee") is the Gas Limit * Gas Price

With this arithmetic expression,  "A standard TX will need 21000 gas & if the gas price is 0.00000002 ETH so the total TX fee will be 0.00042 Ether".

It clear that every transaction is based on this set standard like you staed above, and makes it easier to understand or calculate huge TX fees. Thanks for the info.
Title: Re: Ethereum transaction Gas needed
Post by: TheCBF on July 09, 2019, 03:41:18 PM
Gas is the fee charged fore carrying out an operation on the Blockchain and is charged by miners who execute the operations. Writing to the blockchain costs, reading from it does not.

When writing Smart Contracts it's important to minimise the number of write operations that need to take place agains the blockchain.

For example, make sure that the correct int or uint type is used for the data to be held (smallest possible) and the most optimal data type is used to minimise Gas costs. As of Solidity version 0.5.0 explicitly defining the data location for all variables of struct, array or mapping types is now mandatory. Consider if you need to use Storage or Memory for operations, Storage costs but Memory is local so free.

If a function doesn't actually change state in Solidity, i.e. it doesn't change any values or write anything to the blockchain, we could declare it as a view function, meaning it's only viewing the output of running the function but not modifying it. Views are Gas free. Use a for loop to build the contents of an array in a function using Memory, rather than simply saving that array to storage

CBF
Title: Re: Ethereum transaction Gas needed
Post by: Stuart on July 21, 2019, 07:15:26 PM

    A standard TX will need 21000 gas & if the gas price is 0.00000002 ETH so the total TX fee will be 0.00042 Ether.

    With tokens, the amount of gas is typically 50000 gas - 100000 gas, so the total TX fee can increase to 0.001 ETH - 0.002 ETH.

    The amount of ETH or tokens you are sending does not affect the amount of gas you need.

    GAS LIMIT is the maximum amount of GAS you will send with your transaction. This is in units of GAS.

    GAS PRICE, is how much each unit of gas costs.

   1 Gwei = 0.000000001 ETH   >>>> gas price

The total cost of a transaction (the "TX fee") is the Gas Limit * Gas Price

I am sure this is a standard gas fee to all transactions no matter how large or small the quantity maybe. Its a good info miss, thanks for the heads up and awareness of things done behind the scene.
Title: Re: Ethereum transaction Gas needed
Post by: lobakh on November 13, 2019, 08:14:02 AM
Как купить Эфириум в обменниках
Купить криптовалюту Эфириум в обменниках очень просто, при этом данный способ подходим каждому. Обменять можно практически любую электронную платежную систему, которая у вас имеется, в том числе валюты - российский рубль, украинская гривна, тенге и другие.
Обменных пунктов в интернете много,  самых надёжные: Prostocash, Xchange,
Например, сервис Prostocash осуществляет обмен по самым популярным направлением. Можно приобрести Ethereum за рубли Сбербанк, с рублёвых карт Visa и Mastercard, Qiwi, Яндекс Деньги, с кошелька Advcash, Альфа Банка и других.
Title: Re: Ethereum transaction Gas needed
Post by: Btceth01 on November 12, 2020, 06:02:52 PM
Of course Ethereum transactions require a transaction gas fee. You can never transfer anything without a transaction gas fee.
Title: Re: Ethereum transaction Gas needed
Post by: Rain075 on November 24, 2020, 02:17:15 AM
Yes, Ethereum transactions require a transaction fee.  You cannot transfer anything except the transaction fee. Now the transaction fee has been increased a lot.
Title: Re: Ethereum transaction Gas needed
Post by: Mayajal on March 14, 2021, 02:20:14 AM
Etherium gas fee is currently being widely used.  The amount of gas fee has increased so much that the idea is not going to happen.  Transferring tokens costs a lot of gas, which is three times more expensive than selling tokens.