Skip to content

Commit a5f2aae

Browse files
Update src/content/developers/tutorials/a-developers-guide-to-ethereum-part-one/index.md
Co-authored-by: Joseph Cook <33655003+jmcook1186@users.noreply.github.com>
1 parent 8dac14f commit a5f2aae

File tree

1 file changed

+3
-1
lines changed
  • src/content/developers/tutorials/a-developers-guide-to-ethereum-part-one

1 file changed

+3
-1
lines changed

src/content/developers/tutorials/a-developers-guide-to-ethereum-part-one/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,9 @@ In [13]: w3.eth.get_balance(w3.eth.accounts[1])
287287
Out[13]: 1000003000000000000000000
288288
```
289289

290-
The latter looks good! The balance went from 1,000,000 to 1,000,003 ether. But what happened to the first account? It appears to have lost slightly more than three ether. Alas, nothing in life is free, and using the Ethereum public network requires that you compensate your peers for their supporting role. A small transaction fee was deducted from the account making the transaction to the tune of 21000 gwei.
290+
The latter looks good! The balance went from 1,000,000 to 1,000,003 ether. But what happened to the first account? It appears to have lost slightly more than three ether. Alas, nothing in life is free, and using the Ethereum public network requires that you compensate your peers for their supporting role. A small transaction fee was deducted from the account that submitted the transaction - this fee is the amount of gas burned (21000 units of gas for an ETH transfer) multiplied by a base fee that varies according to network activity plus a tip that goes to the validator that includes the transaction in a block.
291+
292+
More on [gas](https://ethereum.org/en/developers/docs/gas/#post-london)
291293

292294
<div class="featured">Note: On the public network, transaction fees are variable based on network demand and how quickly you'd like a transaction to be processed. If you're interested in a breakdown of how fees are calculated, see my earlier post on <a href="https://medium.com/ethereum-grid/ethereum-101-how-are-transactions-included-in-a-block-9ae5f491853f">how transactions are included in a block</a>.</div>
293295

0 commit comments

Comments
 (0)