| Crates.io | web3scan |
| lib.rs | web3scan |
| version | 0.1.100 |
| created_at | 2022-07-22 16:07:43.488542+00 |
| updated_at | 2022-07-22 16:07:43.488542+00 |
| description | Web3Scan is a used for gathering information from EVM-based networks using Etherscan's API. |
| homepage | |
| repository | https://github.com/tonytins/web3scan |
| max_upload_size | |
| id | 630890 |
| size | 59,149 |
A descendant from the CoinMarket library, Web3Scan is a used for gathering information from EVM-based networks using Etherscan's API.
[dependencies]
coinmarket = "0.1"
APIKEY=[key]
use web3scan::Web3;
pub fn main() {
let network = Web3::new("api.etherscan.io");
let balance = network
.get_balance("0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B")
.expect("Parsing error");
println!("{}", balance);
}
This project is dual-licensed under the BSD-3-Clause or the UNLICENSE.