https://github.com/stackoverflowexcept1on/ethereum-fee-calculator
converts "gas used" to ETH & USD
https://github.com/stackoverflowexcept1on/ethereum-fee-calculator
ethereum web3py
Last synced: 10 months ago
JSON representation
converts "gas used" to ETH & USD
- Host: GitHub
- URL: https://github.com/stackoverflowexcept1on/ethereum-fee-calculator
- Owner: StackOverflowExcept1on
- Created: 2022-12-24T14:27:15.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-02-08T14:34:05.000Z (almost 3 years ago)
- Last Synced: 2025-01-11T13:24:01.236Z (11 months ago)
- Topics: ethereum, web3py
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### ethereum-fee-calculator
### Usage
```
usage: ethereum_fee_calculator.py [-h] rpc_url gas_used
calculates fees in USD for the ethereum blockchain
positional arguments:
rpc_url
gas_used
```
### Example
```
./ethereum_fee_calculator.py https://cloudflare-eth.com 21000
1 ETH: 1219.47$
gas price: 10.68920662 gwei (also see https://etherscan.io/gastracker)
fee: 0.00022447 ETH <=> 0.27373850$
```