Crates.io | gas-lookup |
lib.rs | gas-lookup |
version | 0.1.9 |
source | src |
created_at | 2023-12-24 13:54:04.910268 |
updated_at | 2024-03-10 13:08:54.47212 |
description | A tool to calculate total gas spent by an address within a given time frame |
homepage | https://github.com/varun-doshi/gas-lookup |
repository | https://github.com/varun-doshi/gas-lookup |
max_upload_size | |
id | 1079710 |
size | 238,180 |
A cli tool to calculate total gas spent by an address within a given time frame.
A CLI tool to calculate the total amount of Ether spent on gas on transacting on a specific blockchain withing a given date frame.
Install gas-lookup with cargo
cargo install gas-lookup
Once the install is completed, the cli command will be available globally on your system. To run the application:
gas-lookup <address> <start_date> <end_date> [chain]
address
: The address whose gas spent needs to be calculatedstart date
: The start date to calculate gas from. Format - dd/mm/yyy
end date
: The date till which gas needs to be calculated. Format - dd/mm/yyy
chain
: Specify the chain to claculate gas on. Defaults to Ethereum Mainnet.
Available options:
eth
: For Ethereum Mainnetpol
: For Polygon Mainnetopt
: For Optimism MainnetFor help,
gas-lookup --help
Gas-lookup has been optimized for more than 37% faster result generation. Throught Rust's powerful thread concurrency, dates and blocks are calculated in parallel executions.
Updated code to correct bug which caused the binary file to crash for certain cases.
Support for Polygon Mainnet and Optimism Mainnet has been added. Use the chain
flag to specific desired chain.
gas-lookup <address_OR_ENS_name> <start_date> <end_date> [chain]
Support for ENS names have been added. Search with either ETH address or ENS name
gas-lookup <ETH_address OR ENS_name> <start_date> <end_date>
Licensed under either of Apache License, Version 2.0 or MIT license at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.